Re: [libvirt] [PATCH 1/4] virsh: Two new helper functions for disk device changes

2012-02-13 Thread Osier Yang
On 02/14/2012 05:59 AM, Eric Blake wrote: On 02/03/2012 02:23 AM, Osier Yang wrote: vshFindDisk is to find the disk node in xml doc with given target and flags (indicates disk type, normal disk or changeable disk). vshPrepareDiskXML is to make changes on the disk node (e.g. create and insert th

Re: [libvirt] [PATCH 1/4] virsh: Two new helper functions for disk device changes

2012-02-13 Thread Eric Blake
On 02/03/2012 02:23 AM, Osier Yang wrote: > vshFindDisk is to find the disk node in xml doc with given target > and flags (indicates disk type, normal disk or changeable disk). > > vshPrepareDiskXML is to make changes on the disk node (e.g. create > and insert the new node for inserting media of

[libvirt] [PATCH 1/4] virsh: Two new helper functions for disk device changes

2012-02-03 Thread Osier Yang
vshFindDisk is to find the disk node in xml doc with given target and flags (indicates disk type, normal disk or changeable disk). vshPrepareDiskXML is to make changes on the disk node (e.g. create and insert the new node for inserting media of CDROM drive). --- tools/virsh.c | 207

[libvirt] [PATCH 1/4] virsh: Two new helper functions for disk device changes

2012-01-10 Thread Osier Yang
vshFindDisk is to find the disk node in xml doc with given target and flags (indicates disk type, normal disk or changeable disk). vshPrepareDiskXML is to make changes on the disk node (e.g. create and insert the new node for inserting media of CDROM drive). --- tools/virsh.c | 207