Re: [Qemu-devel] [PATCH 2/2] [WIP]Added target to build libvdisk

2011-10-31 Thread Paolo Bonzini
On 10/30/2011 07:04 PM, Saggi Mizrahi wrote: I wonder also what thread API should be used, qemu_thread versions used internally or standard ones. It would be logical to use qemu_thread versions but then the external user should use those too. I would prefer not to use qemu's threading as it'll

[Qemu-devel] [PATCH 2/2] [WIP]Added target to build libvdisk

2011-10-30 Thread Saggi Mizrahi
RFC: This is my suggestion for wrapping the block layer with another supported API. I added only the bare bones verbs I think we can all agree on. Apart from the API please also comment on the Makefile. I kinda stitched it up and I will appreciate comments on it as well. libvdisk is a library

Re: [Qemu-devel] [PATCH 2/2] [WIP]Added target to build libvdisk

2011-10-30 Thread Blue Swirl
On Sun, Oct 30, 2011 at 16:51, Saggi Mizrahi smizr...@redhat.com wrote: RFC: This is my suggestion for wrapping the block layer with another supported API. I added only the bare bones verbs I think we can all agree on. It can be expected that the API will only grow: file descriptor versions,

Re: [Qemu-devel] [PATCH 2/2] [WIP]Added target to build libvdisk

2011-10-30 Thread Saggi Mizrahi
On Sun 30 Oct 2011 07:21:13 PM IST, Blue Swirl wrote: On Sun, Oct 30, 2011 at 16:51, Saggi Mizrahismizr...@redhat.com wrote: RFC: This is my suggestion for wrapping the block layer with another supported API. I added only the bare bones verbs I think we can all agree on. It can be expected