Re: [libvirt] [PATCH] virsh: fix change-media bug on disk block type

2013-07-23 Thread Guannan Ren
On 07/23/2013 12:20 AM, Eric Blake wrote: On 07/22/2013 01:40 AM, Guannan Ren wrote: Resolves:https://bugzilla.redhat.com/show_bug.cgi?id=923053 When cdrom is block type, the virsh change-media failed to insert source info because virsh uses source block='/dev/sdb'/ while the correct name of

[libvirt] [PATCH] virsh: fix change-media bug on disk block type

2013-07-22 Thread Guannan Ren
Resolves:https://bugzilla.redhat.com/show_bug.cgi?id=923053 When cdrom is block type, the virsh change-media failed to insert source info because virsh uses source block='/dev/sdb'/ while the correct name of the attribute for block disks is dev. --- tools/virsh-domain.c | 6 -- 1 file

Re: [libvirt] [PATCH] virsh: fix change-media bug on disk block type

2013-07-22 Thread Eric Blake
On 07/22/2013 01:40 AM, Guannan Ren wrote: Resolves:https://bugzilla.redhat.com/show_bug.cgi?id=923053 When cdrom is block type, the virsh change-media failed to insert source info because virsh uses source block='/dev/sdb'/ while the correct name of the attribute for block disks is dev. ---