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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

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@xxxxxxxxxxxxxxxxx>

Thanks,
Masayuki Sunou.

Attachment: attach-disk_fix.patch
Description: Binary data

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]