]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: refactor qemuDomainHotunplugVcpus
authorPeter Krempa <pkrempa@redhat.com>
Fri, 30 Oct 2015 15:29:45 +0000 (16:29 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Dec 2015 13:57:12 +0000 (14:57 +0100)
commit9d5ac29eefd229b8444478a84829051e57f27f60
tree30c7804e51692d05473fab34534de834f267a6ce
parentde3db7d27fd5817c7215c39c7d03f5802ec56598
qemu: refactor qemuDomainHotunplugVcpus

Refactor the code flow so that 'exit_monitor:' can be removed.

This patch moves the auditing functions into places where it's certain
that hotunplug was or was not successful and reports errors from
qemuMonitorGetCPUInfo properly.
src/qemu/qemu_driver.c