[gnome-boxes] installer: Set bus on unattended disk config
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] installer: Set bus on unattended disk config
- Date: Tue, 19 Feb 2013 20:27:27 +0000 (UTC)
commit b381592d6d4474c920e330122d8f8e9fd41b63dc
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sun Jan 27 22:34:40 2013 +0200
installer: Set bus on unattended disk config
Don't exactly remember anymore if this is strictly needed but I don't
think it'll do any harm to be explicit about the bus.
https://bugzilla.gnome.org/show_bug.cgi?id=691546
src/unattended-installer.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index d767a10..ef6dd2f 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -484,6 +484,7 @@ private class Boxes.UnattendedInstaller: InstallerMedia {
if (os.distro == "win") {
disk.set_target_dev ((path_format == PathFormat.DOS)? "A" : "fd");
disk.set_guest_device_type (DomainDiskGuestDeviceType.FLOPPY);
+ disk.set_target_bus (DomainDiskBus.FDC);
} else {
// Path format checks below are most probably practically redundant but a small price for future
safety
if (supports_virtio_disk)
@@ -491,6 +492,7 @@ private class Boxes.UnattendedInstaller: InstallerMedia {
else
disk.set_target_dev ((path_format == PathFormat.UNIX)? "sdb" : "E");
disk.set_guest_device_type (DomainDiskGuestDeviceType.DISK);
+ disk.set_target_bus (DomainDiskBus.USB);
}
return disk;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]