You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's come up a few times now that we need to dig into 512e-specific
behaviours (most recently in OCPBUGS-35410). Let's add a knob for this
in the qemu platform just like the one we have for 4Kn.
Copy file name to clipboardExpand all lines: mantle/platform/qemu.go
+27-17Lines changed: 27 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -89,16 +89,17 @@ type QEMUMachine interface {
89
89
90
90
// Disk holds the details of a virtual disk.
91
91
typeDiskstruct {
92
-
Sizestring// disk image size in bytes, optional suffixes "K", "M", "G", "T" allowed.
93
-
BackingFilestring// raw disk image to use.
94
-
BackingFormatstring// qcow2, raw, etc. If unspecified will be autodetected.
95
-
Channelstring// virtio (default), nvme, scsi
96
-
DeviceOpts []string// extra options to pass to qemu -device. "serial=XXXX" makes disks show up as /dev/disk/by-id/virtio-<serial>
97
-
DriveOpts []string// extra options to pass to -drive
98
-
SectorSizeint// if not 0, override disk sector size
99
-
NbdDiskbool// if true, the disks should be presented over nbd:unix socket
100
-
MultiPathDiskbool// if true, present multiple paths
101
-
Wwnuint64// Optional World wide name for the SCSI disk. If not set or set to 0, a random one will be generated. Used only with "channel=scsi". Must be an integer
92
+
Sizestring// disk image size in bytes, optional suffixes "K", "M", "G", "T" allowed.
93
+
BackingFilestring// raw disk image to use.
94
+
BackingFormatstring// qcow2, raw, etc. If unspecified will be autodetected.
95
+
Channelstring// virtio (default), nvme, scsi
96
+
DeviceOpts []string// extra options to pass to qemu -device. "serial=XXXX" makes disks show up as /dev/disk/by-id/virtio-<serial>
97
+
DriveOpts []string// extra options to pass to -drive
98
+
SectorSizeint// if not 0, override disk sector size
99
+
LogicalSectorSizeint// if not 0, override disk sector size
100
+
NbdDiskbool// if true, the disks should be presented over nbd:unix socket
101
+
MultiPathDiskbool// if true, present multiple paths
102
+
Wwnuint64// Optional World wide name for the SCSI disk. If not set or set to 0, a random one will be generated. Used only with "channel=scsi". Must be an integer
0 commit comments