vmbuilder sets new VMs' memory limits to 18446744073709551615 kb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
Fix Released
|
Undecided
|
Charles Hooper |
Bug Description
STR:
1. Install a stock vmbuilder package.
2. Create a ~/.vmbuilder.cfg with the following:
[DEFAULT]
mem = 256
# and other settings as appropriate
3. sudo vmbuilder kvm ubuntu --libvirt qemu:///system # no --mem
4. virsh dumpxml ubuntu | grep memory
If, and apparently only if, the value of mem came from ~/.vmbuilder.cfg, then the <memory /> element will contain 184467440737095
This behaviour cannot be reproduced using the --mem flag, and if --mem
is specified, the presence or absence of a mem config file entry becomes
irrelevant (as it should).
It's probably relevant that this number is all-bits-1 for 64 bits, as an unsigned value.
Versions:
ii python-vm-builder 0.10-0ubuntu2
Related branches
- Soren Hansen: Approve
- Diff: None lines
Changed in vmbuilder: | |
status: | New → Confirmed |
Changed in vmbuilder: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Charles Hooper (chooper) |
Changed in vmbuilder: | |
status: | Fix Committed → Fix Released |
Fixed in lp:~chooper/vmbuilder/fixes