]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: fix change-media bug on disk block type
authorGuannan Ren <gren@redhat.com>
Mon, 22 Jul 2013 07:38:43 +0000 (15:38 +0800)
committerCole Robinson <crobinso@redhat.com>
Fri, 20 Sep 2013 19:54:47 +0000 (15:54 -0400)
commit7b5ea428c87bb96143a0fc1c596aaec5e7844303
treee2eeff9c44e99916bee184c213c92a11d2229b93
parent648bd031181fb43657042610aeaae5a1ef38d35c
virsh: fix change-media bug on disk block type

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".

(cherry picked from commit 7729a16814d5bf3aebd248c9af00296ae2773818)
tools/virsh-domain.c