[Libvirt-cim] [PATCH] (#2) For pause, reboot, and enable add support for guests in the NOSTATE state

Dan Smith danms at us.ibm.com
Wed Jul 23 20:51:23 UTC 2008


KR> # HG changeset patch
KR> # User Kaitlin Rupert <karupert at us.ibm.com>
KR> # Date 1216757900 25200
KR> # Node ID cc69139baaddfd14451940fc7bab9239be0edfcb
KR> # Parent  695e6e7fb85f14e7e7685b94832b0fc73027e405
KR> (#2) For pause, reboot, and enable add support for guests in the
KR> NOSTATE state. 

So, it looks to me that a KVM guest, when first defined, can have
NOSTATE, but imply offline.  Xen's notion of NOSTATE seems to imply
being online.  In my patch to domain_online() just now, I had to
account for those differences.

Perhaps something needs to change in this patch as well?  For example,
if we're in NOSTATE, we allow running virDomainReboot(), but will that
function fail if it can't do a shutdown on the domain?

What about for suspend?  I doubt libvirt will let you pause an offline
domain, so perhaps we should alter things a bit?

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080723/566a6976/attachment.sig>


More information about the Libvirt-cim mailing list