[Libvir] [PATCH] Fix failure of virsh attach-disk (BZ346281)

Masayuki Sunou fj1826dm at aa.jp.fujitsu.com
Tue Nov 6 00:10:54 UTC 2007


Virsh attach-disk fails when the disk is attached to domain.
And error message displays that device_configure() failed.
  # virsh attach-disk PV_RH51RC_12 /dev/hda8 xvdb --driver phy
  libvir: Xen Daemon error : POST operation failed:
  (xend.err'device_configure() takes exactly 2 arguments (3 given)')
--> BZ346281 : https://bugzilla.redhat.com/show_bug.cgi?id=346281

This problem occurs because search of device ID of disk doesn't
operate correctly.

This patch fixes it.
And this fixes a little comment too.

Signed-off-by: Masayuki Sunou <fj1826dm at aa.jp.fujitsu.com>

Masayuki Sunou.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attach-disk_fix.patch
Type: application/octet-stream
Size: 4246 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071106/9e876a30/attachment-0001.obj>

More information about the libvir-list mailing list