All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1719870] [NEW] Converting 100G VHDX fixed image to QCOW2 fails
@ 2017-09-27 12:21 R Naveen Kumar
  2017-09-27 12:27 ` [Qemu-devel] [Bug 1719870] " R Naveen Kumar
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: R Naveen Kumar @ 2017-09-27 12:21 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Virtual Size recognized incorrectly for VHDX fixed disk and conversion
fails with error Expression: !qiov || bytes == qiov->size


PS > & 'C:\Program Files\qemu\qemu-img.exe' --version
qemu-img version 2.10.0 (v2.10.0-11669-g579e69bd5b-dirty)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1719870

Title:
  Converting 100G VHDX fixed image to QCOW2 fails

Status in QEMU:
  New

Bug description:
  Virtual Size recognized incorrectly for VHDX fixed disk and conversion
  fails with error Expression: !qiov || bytes == qiov->size


  PS > & 'C:\Program Files\qemu\qemu-img.exe' --version
  qemu-img version 2.10.0 (v2.10.0-11669-g579e69bd5b-dirty)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1719870] Re: Converting 100G VHDX fixed image to QCOW2 fails
  2017-09-27 12:21 [Qemu-devel] [Bug 1719870] [NEW] Converting 100G VHDX fixed image to QCOW2 fails R Naveen Kumar
@ 2017-09-27 12:27 ` R Naveen Kumar
  2017-09-27 16:03 ` R Naveen Kumar
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: R Naveen Kumar @ 2017-09-27 12:27 UTC (permalink / raw)
  To: qemu-devel

Command capture,

PS > & 'C:\Program Files\qemu\qemu-img.exe' --version
qemu-img version 2.10.0 (v2.10.0-11669-g579e69bd5b-dirty)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1719870

Title:
  Converting 100G VHDX fixed image to QCOW2 fails

Status in QEMU:
  New

Bug description:
  Virtual Size recognized incorrectly for VHDX fixed disk and conversion
  fails with error Expression: !qiov || bytes == qiov->size


  PS > & 'C:\Program Files\qemu\qemu-img.exe' --version
  qemu-img version 2.10.0 (v2.10.0-11669-g579e69bd5b-dirty)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1719870] Re: Converting 100G VHDX fixed image to QCOW2 fails
  2017-09-27 12:21 [Qemu-devel] [Bug 1719870] [NEW] Converting 100G VHDX fixed image to QCOW2 fails R Naveen Kumar
  2017-09-27 12:27 ` [Qemu-devel] [Bug 1719870] " R Naveen Kumar
@ 2017-09-27 16:03 ` R Naveen Kumar
  2017-10-11 10:30 ` R Naveen Kumar
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: R Naveen Kumar @ 2017-09-27 16:03 UTC (permalink / raw)
  To: qemu-devel

PS > Get-VHD .\VM.vhdx
ComputerName            : Server1
Path                    : \VM.vhdx
VhdFormat               : VHDX
VhdType                 : Fixed
FileSize                : 107378376704
Size                    : 107374182400
MinimumSize             : 107374182400
LogicalSectorSize       : 4096
PhysicalSectorSize      : 4096
BlockSize               : 0
ParentPath              :
DiskIdentifier          : 53fd4aa7-562e-4bed-bc1c-2db71222e07e
FragmentationPercentage : 0
Alignment               : 1
Attached                : False
DiskNumber              :
Key                     :
IsDeleted               : False
Number                  :
PS > & 'C:\Program Files\qemu\qemu-img.exe' convert -O qcow2 .\VM.vhdx .\VM.qcow2
Assertion failed!
Program: C:\Program Files\qemu\qemu-img.exe
File: /home/stefan/src/qemu/repo.or.cz/qemu/ar7/block/io.c, Line 1034
Expression: !qiov || bytes == qiov->size
PS > & 'C:\Program Files\qemu\qemu-img.exe' info .\VM.qcow2
image: .\VM.qcow2
file format: qcow2
virtual size: 13G (13421772800 bytes)
disk size: 1.4G
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: false
    refcount bits: 16
    corrupt: false

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1719870

Title:
  Converting 100G VHDX fixed image to QCOW2 fails

Status in QEMU:
  New

Bug description:
  Virtual Size recognized incorrectly for VHDX fixed disk and conversion
  fails with error Expression: !qiov || bytes == qiov->size


  PS > & 'C:\Program Files\qemu\qemu-img.exe' --version
  qemu-img version 2.10.0 (v2.10.0-11669-g579e69bd5b-dirty)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1719870] Re: Converting 100G VHDX fixed image to QCOW2 fails
  2017-09-27 12:21 [Qemu-devel] [Bug 1719870] [NEW] Converting 100G VHDX fixed image to QCOW2 fails R Naveen Kumar
  2017-09-27 12:27 ` [Qemu-devel] [Bug 1719870] " R Naveen Kumar
  2017-09-27 16:03 ` R Naveen Kumar
@ 2017-10-11 10:30 ` R Naveen Kumar
  2020-09-26 16:57 ` Thomas Huth
  2020-11-26  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: R Naveen Kumar @ 2017-10-11 10:30 UTC (permalink / raw)
  To: qemu-devel

Bug is reproducible with setting VHDX Fixed Logicalsectorsize to 4096bytes
>10G image created reflects as 1.2G virtual size in Qemu-img
PS F:\> new-vhd -path test.vhdx -BlockSizeBytes 134217728 -SizeBytes 10737418240 -Fixed -LogicalSectorSizeBytes 4096
ComputerName            : XXXX
Path                    : F:\test.vhdx
VhdFormat               : VHDX
VhdType                 : Fixed
FileSize                : 10741612544
Size                    : 10737418240
MinimumSize             :
LogicalSectorSize       : 4096
PhysicalSectorSize      : 4096
BlockSize               : 0
ParentPath              :
DiskIdentifier          : dfa84293-86f2-4ddf-aaff-14c04dae5df9
FragmentationPercentage : 0
Alignment               : 1
Attached                : False
DiskNumber              :
Key                     :
IsDeleted               : False
Number                  :
PS F:\> C:\temp\qemu-img\qemu-img.exe info .\test.vhdx
image: .\test.vhdx
file format: vhdx
virtual size: 1.2G (1342177280 bytes)
disk size: 10G
cluster_size: 134217728

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1719870

Title:
  Converting 100G VHDX fixed image to QCOW2 fails

Status in QEMU:
  New

Bug description:
  Virtual Size recognized incorrectly for VHDX fixed disk and conversion
  fails with error Expression: !qiov || bytes == qiov->size


  PS > & 'C:\Program Files\qemu\qemu-img.exe' --version
  qemu-img version 2.10.0 (v2.10.0-11669-g579e69bd5b-dirty)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1719870] Re: Converting 100G VHDX fixed image to QCOW2 fails
  2017-09-27 12:21 [Qemu-devel] [Bug 1719870] [NEW] Converting 100G VHDX fixed image to QCOW2 fails R Naveen Kumar
                   ` (2 preceding siblings ...)
  2017-10-11 10:30 ` R Naveen Kumar
@ 2020-09-26 16:57 ` Thomas Huth
  2020-11-26  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2020-09-26 16:57 UTC (permalink / raw)
  To: qemu-devel

Looking through old bug tickets... can you still reproduce this issue
with the latest version of QEMU? Or could we close this ticket nowadays?


** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1719870

Title:
  Converting 100G VHDX fixed image to QCOW2 fails

Status in QEMU:
  Incomplete

Bug description:
  Virtual Size recognized incorrectly for VHDX fixed disk and conversion
  fails with error Expression: !qiov || bytes == qiov->size


  PS > & 'C:\Program Files\qemu\qemu-img.exe' --version
  qemu-img version 2.10.0 (v2.10.0-11669-g579e69bd5b-dirty)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1719870] Re: Converting 100G VHDX fixed image to QCOW2 fails
  2017-09-27 12:21 [Qemu-devel] [Bug 1719870] [NEW] Converting 100G VHDX fixed image to QCOW2 fails R Naveen Kumar
                   ` (3 preceding siblings ...)
  2020-09-26 16:57 ` Thomas Huth
@ 2020-11-26  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: Launchpad Bug Tracker @ 2020-11-26  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1719870

Title:
  Converting 100G VHDX fixed image to QCOW2 fails

Status in QEMU:
  Expired

Bug description:
  Virtual Size recognized incorrectly for VHDX fixed disk and conversion
  fails with error Expression: !qiov || bytes == qiov->size


  PS > & 'C:\Program Files\qemu\qemu-img.exe' --version
  qemu-img version 2.10.0 (v2.10.0-11669-g579e69bd5b-dirty)
  Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-26  4:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-27 12:21 [Qemu-devel] [Bug 1719870] [NEW] Converting 100G VHDX fixed image to QCOW2 fails R Naveen Kumar
2017-09-27 12:27 ` [Qemu-devel] [Bug 1719870] " R Naveen Kumar
2017-09-27 16:03 ` R Naveen Kumar
2017-10-11 10:30 ` R Naveen Kumar
2020-09-26 16:57 ` Thomas Huth
2020-11-26  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.