qemu-img cannot create fixed vhdx
Bug #1370585 reported by
Adelina Tuvenie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to create a fixed vhdx image, qemu-img fails with the following error:
qemu-img: test.vhdx: Could not create image: Cannot allocate memory
This happens because of a incorrect check in vhdx.c
Changed in qemu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Works for me on 07e2863d0271ac6 c05206d8ce9e4f4 c39b25d3ea:
$ uname -a 200.fc20. x86_64 #1 SMP Mon Sep 8 11:54:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Linux 3.16.2-
$ ./qemu-img create -f vhdx -o subformat=fixed test.vhdx 10G
Formatting 'test.vhdx', fmt=vhdx size=10737418240 log_size=1048576 block_size=0 subformat='fixed'
Please include the command-line needed to reproduce this bug.
You also mentioned an "incorrect check in vhdx.c". What exactly is wrong? If you have a patch, please send it to <email address hidden> after looking at the code submission guidelines: qemu-project. org/Contribute/ SubmitAPatch
http://