On 09/29/2011 02:54 AM, Xu He Jie wrote:
Signed-off-by: Xu He Jie<xuhj@xxxxxxxxxxxxxxxxxx> --- src/qemu/qemu_driver.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index ffa8b4c..3f89c62 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -1596,6 +1596,53 @@ cleanup: } +static int qemuDomainReset(virDomainPtr dom, unsigned int flags) {
Formatting - while we aren't completely consistent, most new functions use: return type name(args) { rather than cramming it into one line. I'll squash this in when pushing: diff --git i/src/qemu/qemu_driver.c w/src/qemu/qemu_driver.c index 3f89c62..0f18983 100644 --- i/src/qemu/qemu_driver.c +++ w/src/qemu/qemu_driver.c @@ -1596,7 +1596,9 @@ cleanup: } -static int qemuDomainReset(virDomainPtr dom, unsigned int flags) { +static int +qemuDomainReset(virDomainPtr dom, unsigned int flags) +{ struct qemud_driver *driver = dom->conn->privateData; virDomainObjPtr vm; int ret = -1; -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list