[libvirt] [PATCH] bhyve: add domainCreateWithFlags support

2014-03-24 Thread Michal Privoznik
From: Roman Bogorodskiy bogorods...@gmail.com The only supported flag for now is 'autodestroy'. In order to support 'autodestroy', add support for close callbacks. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- src/bhyve/bhyve_driver.c | 28 ---

Re: [libvirt] [PATCH] bhyve: add domainCreateWithFlags support

2014-03-24 Thread Michal Privoznik
D'oh! I've hit 'git send-email -1' being on the wrong branch. Sorry for the noise. Ignore this. Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] bhyve: add domainCreateWithFlags support

2014-03-23 Thread Roman Bogorodskiy
Michal Privoznik wrote: If this fails, we should kill the domain and return an error. It won't happen currently, as ret is equal to zero in this area of code (it's not visible in the context, but this whole block starts with 'if (ret == 0) {'). Moreover, the same bug is present a few

Re: [libvirt] [PATCH] bhyve: add domainCreateWithFlags support

2014-03-20 Thread Michal Privoznik
On 18.03.2014 10:31, Roman Bogorodskiy wrote: The only supported flag for now is 'autodestroy'. In order to support 'autodestroy', add support for close callbacks. --- src/bhyve/bhyve_driver.c | 28 +--- src/bhyve/bhyve_process.c | 29 -

[libvirt] [PATCH] bhyve: add domainCreateWithFlags support

2014-03-18 Thread Roman Bogorodskiy
The only supported flag for now is 'autodestroy'. In order to support 'autodestroy', add support for close callbacks. --- src/bhyve/bhyve_driver.c | 28 +--- src/bhyve/bhyve_process.c | 29 - src/bhyve/bhyve_process.h | 7 ++-