On 12/14/2010 12:40 AM, Hu Tao wrote: > --- > src/qemu/qemu_driver.c | 63 ++++++++++++++++++----------------------------- > 1 files changed, 24 insertions(+), 39 deletions(-) > > diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c > index 484bdeb..c096890 100644 > --- a/src/qemu/qemu_driver.c > +++ b/src/qemu/qemu_driver.c > @@ -579,6 +579,21 @@ static void qemuDomainObjExitRemoteWithDriver(struct qemud_driver *driver, > virDomainObjUnref(obj); > } > > +static int doStartCPUs(struct qemud_driver *driver, virDomainObjPtr vm, virConnectPtr conn) > +{ > + int ret; > + qemuDomainObjPrivatePtr priv = vm->privateData; > + > + qemuDomainObjEnterMonitorWithDriver(driver, vm); > + ret = qemuMonitorStartCPUs(priv->mon, conn); > + if (ret == 0) { > + vm->state = VIR_DOMAIN_RUNNING; > + } > + qemuDomainObjExitMonitorWithDriver(driver, vm); > + > + return ret; > +} ACK, and series pushed. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list