6de106691e
virt-manager-3.0.0.tar.bz2 * virt-install –cloud-init support (Athina Plaskasoviti, Cole Robinson) * The virt-convert tool has been removed. Please use virt-v2v instead * A handful of UI XML configuration options have been removed. The XML editor can be used instead. For a larger discussion see this thread: https://www.redhat.com/archives/virt-tools-list/ 2019-June/msg00117.html * The ‘New VM’ UI now has a ‘Manual Install’ option which creates a VM without any required install media * In the ‘New VM’ UI, the network/pxe install option has been removed. If you need network boot, choose ‘Manual Install’ and set the boot device after initial VM creation * ‘Clone VM’ UI has been reworked and simplified * ‘Migrate VM’ UI now has an XML editor for the destination VM * Global and per-vm option to disable graphical console autoconnect. This makes it easier to use virt-manager alongside another client like virt-viewer * virt-manager: set guest time after VM restore (Michael Weiser) * virt-manager: option to delete storage when removing disk device (Lily Nie) * virt-manager: show warnings if snapshot operation is unsafe (Michael Weiser) * Unattended install improvements (Fabiano Fidêncio) * cli: new –xml XPATH=VAL option for making direct XML changes * virt-install: new –reinstall=DOMAIN option * virt-install: new –autoconsole text|graphical|none option * virt-install: new –os-variant detect=on,require=on suboptions OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=509
41 lines
1.8 KiB
Diff
41 lines
1.8 KiB
Diff
References: bsc#1174176, bsc#1174139
|
|
Current libxl does not support adding a floppy. Code is included
|
|
in this patch anyways to correctly set up a bus if a floppy were
|
|
added.
|
|
|
|
|
|
Index: virt-manager-3.0.0/virtManager/addhardware.py
|
|
===================================================================
|
|
--- virt-manager-3.0.0.orig/virtManager/addhardware.py
|
|
+++ virt-manager-3.0.0/virtManager/addhardware.py
|
|
@@ -481,6 +481,9 @@ class vmmAddHardware(vmmGObjectUI):
|
|
buses = domcaps.devices.disk.get_enum("bus").get_values()
|
|
else:
|
|
buses = vmmAddHardware.disk_old_recommended_buses(guest)
|
|
+ # libxl doesn't support floppy but request one from qemu anyways if specified
|
|
+ if guest.conn.is_xen() and devtype == "floppy":
|
|
+ buses.append("fdc")
|
|
|
|
bus_map = {
|
|
"disk": ["ide", "sata", "scsi", "sd", "usb", "virtio", "xen"],
|
|
@@ -500,6 +503,7 @@ class vmmAddHardware(vmmGObjectUI):
|
|
"usb": _("USB"),
|
|
"virtio": _("VirtIO"),
|
|
"xen": _("Xen"),
|
|
+ "fdc": _("FDC"),
|
|
}
|
|
return bus_mappings.get(bus, bus)
|
|
|
|
@@ -681,8 +685,9 @@ class vmmAddHardware(vmmGObjectUI):
|
|
"drive-harddisk", _("Disk device")])
|
|
target_model.append([DeviceDisk.DEVICE_CDROM,
|
|
"media-optical", _("CDROM device")])
|
|
- target_model.append([DeviceDisk.DEVICE_FLOPPY,
|
|
- "media-floppy", _("Floppy device")])
|
|
+ if not self.conn.is_xen():
|
|
+ target_model.append([DeviceDisk.DEVICE_FLOPPY,
|
|
+ "media-floppy", _("Floppy device")])
|
|
if self.conn.is_qemu() or self.conn.is_test():
|
|
target_model.append([DeviceDisk.DEVICE_LUN,
|
|
"drive-harddisk", _("LUN Passthrough")])
|