[Libvirt-cim] [PATCH] Fix VSMS.RemoveResources()

Dan Smith danms at us.ibm.com
Wed Jan 23 14:28:00 UTC 2008


HE> FMI - Who is doing the real delete ?

The device is actually decoupled during the process, but the in-memory
version of the domain information still has a device struct, but it's
marked as UNKNOWN.  This bit of information is transient, we just need
to make sure that we don't include the device in the new XML.  The
chain looks like this:

  Del Req --> Load XML --> Mark Unknown --> Save XML

Make sense?

-- 
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/20080123/9bdb5f09/attachment.sig>


More information about the Libvirt-cim mailing list