QEMU config disk - use disk interface of HD-D, fallback is HD-A

(cherry picked from commit b672900406)
pull/1847/head
Bernhard Ehlers 4 years ago
parent 347035a99b
commit 750590d0db

@ -1841,7 +1841,9 @@ class QemuVM(BaseNode):
else:
disk_name = getattr(self, "config_disk_name")
disk = os.path.join(self.working_dir, disk_name)
interface = getattr(self, "hda_disk_interface", "ide")
interface = getattr(self, "hdd_disk_interface", "ide")
if interface == "ide":
interface = getattr(self, "hda_disk_interface", "none")
await self._import_config()
if not os.path.exists(disk):
try:

Loading…
Cancel
Save