root@j:~# apt policy qemu-system-x86
qemu-system-x86:
  Installed: 1:6.2+dfsg-2ubuntu6.24
  Candidate: 1:6.2+dfsg-2ubuntu6.26
  Version table:
     1:6.2+dfsg-2ubuntu6.26 500
        500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
     1:6.2+dfsg-2ubuntu6.25 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
 *** 1:6.2+dfsg-2ubuntu6.24 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1:6.2+dfsg-2ubuntu6 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Package

Followed the test steps except using less disk size for root
=> ubuntu@ubuntu:~$ cat /proc/partitions 
major minor  #blocks  name

   8        0    8388608 sda
   8        1    7226351 sda1
   8       13    1047552 sda13
   8       14       4096 sda14
   8       15     108544 sda15
  11        0        366 sr0
   2        0          4 fd0
 259        0 9223372035781033984 nvme0n1


Install the fixed qemu

root@j:~# apt install qemu-system-x86
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  qemu-system-common qemu-system-data
Suggested packages:
  samba vde2
Recommended packages:
  qemu-system-gui ovmf cpu-checker
The following packages will be upgraded:
  qemu-system-common qemu-system-data qemu-system-x86
3 upgraded, 0 newly installed, 0 to remove and 68 not upgraded.
Need to get 13.5 MB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 
qemu-system-x86 amd64 1:6.2+dfsg-2ubuntu6.26 [10.1 MB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 
qemu-system-common amd64 1:6.2+dfsg-2ubuntu6.26 [2047 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 
qemu-system-data all 1:6.2+dfsg-2ubuntu6.26 [1430 kB]
Fetched 13.5 MB in 2s (7122 kB/s)            
(Reading database ... 42036 files and directories currently installed.)
Preparing to unpack .../qemu-system-x86_1%3a6.2+dfsg-2ubuntu6.26_amd64.deb ...
Unpacking qemu-system-x86 (1:6.2+dfsg-2ubuntu6.26) over 
(1:6.2+dfsg-2ubuntu6.24) ...
Preparing to unpack .../qemu-system-common_1%3a6.2+dfsg-2ubuntu6.26_amd64.deb 
...
Unpacking qemu-system-common (1:6.2+dfsg-2ubuntu6.26) over 
(1:6.2+dfsg-2ubuntu6.24) ...
Preparing to unpack .../qemu-system-data_1%3a6.2+dfsg-2ubuntu6.26_all.deb ...
Unpacking qemu-system-data (1:6.2+dfsg-2ubuntu6.26) over 
(1:6.2+dfsg-2ubuntu6.24) ...
Setting up qemu-system-common (1:6.2+dfsg-2ubuntu6.26) ...
Setting up qemu-system-data (1:6.2+dfsg-2ubuntu6.26) ...
Setting up qemu-system-x86 (1:6.2+dfsg-2ubuntu6.26) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...                                                           
                                                                                
                               
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.


Booting the very same guest with the same commandline ...

ubuntu@ubuntu:~$ cat /proc/partitions 
major minor  #blocks  name

   8        0    8388608 sda
   8        1    7226351 sda1
   8       13    1047552 sda13
   8       14       4096 sda14
   8       15     108544 sda15
  11        0        366 sr0
   2        0          4 fd0
 259        0 1073741824 nvme0n1


Works as intended, setting tags ...

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2098896

Title:
  nvme disks 1TiB or greater show incorrect size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2098896/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to