qemu-img fails to create images >= 4G

Bug #567380 reported by Matt Kraai
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

On a Windows XP system and an NTFS drive, using QEMU on Windows Ver 0.12.2 from http://homepage3.nifty.com/takeda-toshiya/qemu/ or QEMU 0.12.3 or d3538b45ea88e82d1b01959b4ca55d3696b71cb2 built locally, when I run the following command, a zero-length file is created.

 qemu-img create foo.img 4G

Changed in qemu:
status: New → Incomplete
Revision history for this message
Steve Si (steve2926) wrote :

Confirmed under Win 7 64-bit.
Also does same thing on v10.6, v11.1, v12.1

Revision history for this message
Michael liu (ztehypervisor) wrote :

what a zero-length file means? Run the following command to see
qemu-img info foo.img

Revision history for this message
Matt Kraai (kraai-ftbfs) wrote :

The file size was zero bytes (i.e., it contained no data).

I've tried again with QEMU 2.6.50 on a Windows 7 Professional system and it appears to have created the s

Revision history for this message
Matt Kraai (kraai-ftbfs) wrote :

Sorry, I accidentally submitted comment #3 without finishing it.

I was going to say that when I tried QEMU 2.6.50 on a Windows 7 Professional system, it appears to have created the image file successfully.

Revision history for this message
Thomas Huth (th-huth) wrote :

Thanks for the update ... since it is working with the current version of QEMU, I assume this problem has been fixed sometimes during the past years, thus we can close this ticket now.

Changed in qemu:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.