diff options
author | 2013-05-02 14:23:07 +0200 | |
---|---|---|
committer | 2013-05-03 13:05:49 +0200 | |
commit | e1adb27a83f19799c454cead7bf930a0b3f2bb28 (patch) | |
tree | 524de3ca51172f83e0a80e69035618f65ccc9d54 /qga/commands-posix.c | |
parent | qemu-iotests: Filter out vmdk creation options (diff) | |
download | qemu-e1adb27a83f19799c454cead7bf930a0b3f2bb28.tar.xz qemu-e1adb27a83f19799c454cead7bf930a0b3f2bb28.zip |
nbd: use g_slice_new() instead of a freelist
Use GLib's efficient slice allocator instead of open-coding the request
freelist. This patch simplifies the NBDRequest code.
Now we qemu_blockalign() the req->data buffer each time but the next
patch switches from a fixed size buffer to a dynamic size anyway.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions