This is an attempt to fix:
Libvirt BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1180486

Libvirt currently assumes ISA_based floppy disks to be available across all
architectures and machine types. However, PowerPC Book 3S compatible ('ie 
pseries)
virtual machines do not support Floppy disks.

This patch series prevents libvirt from launching ppc64[le] -based 'pseries'
VMs with floppy devices.

This version of patch attempts to fulfill the coments of Andrea Bolognani
and Jan Tomko on previous version of patch.
---

Kothapally Madhu Pavan (3):
      Caps: Disable floppy disk for PowerPC VM
      Avoid starting a PowerPC VM with floppy disk
      test: Introduce test case to disallow floppy disk on pseries


 src/qemu/qemu_capabilities.c                       |   15 +++++--
 src/qemu/qemu_command.c                            |    8 ++++
 .../qemuxml2argv-disk-floppy-pseries.args          |    6 +++
 .../qemuxml2argv-disk-floppy-pseries.xml           |   41 ++++++++++++++++++++
 tests/qemuxml2argvtest.c                           |    1 
 5 files changed, 67 insertions(+), 4 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-floppy-pseries.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-floppy-pseries.xml

--
Kothapally Madhu Pavan

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

Reply via email to