Verification done for jammy-proposed.
QEMU can boot successfully from a file backed by 4096-byte sectors on the 6.2 HWE kernel. No regressions with the other options (ie, 512 on 6.2 kernel and 4096/512 on 5.15 kernel).
$ lsb_release -cs jammy
$ apt policy qemu-system-x86 qemu-system-x86: Installed: 1:6.2+dfsg-2ubuntu6.12 Candidate: 1:6.2+dfsg-2ubuntu6.12 Version table: *** 1:6.2+dfsg-2ubuntu6.12 500 500 http://security.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages 100 /var/lib/dpkg/status ...
Detailed test steps in comment #3.
6.2 HWE kernel: ---
# uname -r 6.2.0-23-generic
# LOOPDEV=$(losetup --find --show --sector-size 4096 jammy.raw) # qemu-system-x86_64 -drive file=$LOOPDEV,format=raw,cache=none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm
SeaBIOS (version 1.15.0-1) Booting from Hard Disk... GRUB_FORCE_PARTUUID set, initrdless boot failed. Attempting with initrd. Linux version <...>
# losetup -d $LOOPDEV # LOOPDEV=$(losetup --find --show jammy.raw) # qemu-system-x86_64 -drive file=$LOOPDEV,format=raw,cache=none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm
5.15 GA kernel ---
# uname -r 5.15.0-1035-kvm
Verification done for jammy-proposed.
QEMU can boot successfully from a file backed by 4096-byte sectors on the 6.2 HWE kernel.
No regressions with the other options (ie, 512 on 6.2 kernel and 4096/512 on 5.15 kernel).
$ lsb_release -cs
jammy
$ apt policy qemu-system-x86 2ubuntu6. 12 2ubuntu6. 12 2ubuntu6. 12 500 security. ubuntu. com/ubuntu jammy-proposed/main amd64 Packages archive. ubuntu. com/ubuntu jammy-proposed/main amd64 Packages dpkg/status
qemu-system-x86:
Installed: 1:6.2+dfsg-
Candidate: 1:6.2+dfsg-
Version table:
*** 1:6.2+dfsg-
500 http://
500 http://
100 /var/lib/
...
Detailed test steps in comment #3.
6.2 HWE kernel:
---
# uname -r
6.2.0-23-generic
# LOOPDEV=$(losetup --find --show --sector-size 4096 jammy.raw) format= raw,cache= none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm
# qemu-system-x86_64 -drive file=$LOOPDEV,
SeaBIOS (version 1.15.0-1) PARTUUID set, initrdless boot failed. Attempting with initrd.
Booting from Hard Disk...
GRUB_FORCE_
Linux version <...>
# losetup -d $LOOPDEV format= raw,cache= none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm
# LOOPDEV=$(losetup --find --show jammy.raw)
# qemu-system-x86_64 -drive file=$LOOPDEV,
SeaBIOS (version 1.15.0-1) PARTUUID set, initrdless boot failed. Attempting with initrd.
Booting from Hard Disk...
GRUB_FORCE_
Linux version <...>
5.15 GA kernel
---
# uname -r
5.15.0-1035-kvm
# LOOPDEV=$(losetup --find --show --sector-size 4096 jammy.raw) format= raw,cache= none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm
# qemu-system-x86_64 -drive file=$LOOPDEV,
SeaBIOS (version 1.15.0-1) PARTUUID set, initrdless boot failed. Attempting with initrd.
Booting from Hard Disk...
GRUB_FORCE_
Linux version <...>
# losetup -d $LOOPDEV format= raw,cache= none -boot order=c -nodefaults -no-user-config -nographic -serial stdio -enable-kvm
# LOOPDEV=$(losetup --find --show jammy.raw)
# qemu-system-x86_64 -drive file=$LOOPDEV,
SeaBIOS (version 1.15.0-1) PARTUUID set, initrdless boot failed. Attempting with initrd.
Booting from Hard Disk...
GRUB_FORCE_
Linux version <...>