Re: [Qemu-devel] [PATCH 06/14] libqos: add pc specific interface

2015-01-19 Thread Paolo Bonzini
On 13/01/2015 04:34, John Snow wrote: > +typedef struct QOSOperations { > +QGuestAllocator *(*init_allocator)(QAllocOpts); > +void (*uninit_allocator)(QGuestAllocator *); > +} QOSOperations; Typically called FooOps or FooInfo. Apart from that, Reviewed-by: Paolo Bonzini

[Qemu-devel] [PATCH 06/14] libqos: add pc specific interface

2015-01-12 Thread John Snow
Create an operations structure so that the libqos interface can be architecture agnostic, and create a pc-specific interface to functions like qtest_boot. Move the libqos object in the Makefile from being ahci-test only to being linked with all tests that utilize the libqos features. Signed-off-b