Archive for category Xen
Specifying dom0 RAM in Xen – update
Posted by Kyle Lexmond in Xen on June 5, 2012
Another thing from the xen-users mailing list: Apparently the way to specify the dom0 RAM at boot in Xen has changed. You should now specify the maximum memory – dom0_mem=2G,max:2G instead of dom0_mem=2G. Also, a new addition to the Xen Best Practices suggests preventing Xen from auto-ballooning the dom0 memory down by changing autoballoon in […]
Defining the dom0 memory limit in GRUB2
Posted by Kyle Lexmond in Xen on April 30, 2012
Before I upgraded my dom0 to Fedora 16 (and by association Grub2), I had the dom0 memory limit fixed as an argument in grub.conf. When I upgraded to Grub2, I initially added it manually to the Xen boot command line, but eventually stopped doing that. Today while looking through the xen-users list, I found an […]
Fedora 16 domUs – Update
Posted by Kyle Lexmond in Xen on November 23, 2011
So, I’ve wiped my test system with the intention of doing a tutorial on installing F16 + Xen. As part of this, I looked into installing a F16 domU with virt-install. When I tried it previously, I ran into this bug, and I ended up having to vnc into the dom0 and use virt-viewer to […]
Fedora 16 dom0 – update
Posted by Kyle Lexmond in Xen on November 23, 2011
I’m trying out F16 as a dom0 from the beginning. No upgrades from F15 this time. So far, it’s generally ok. The install (from the netinstall ISO) was straightforward. Only issue was that F16 strongly recommends that a BIOS boot partition be present. (Read: Requires it unless you pass a nogpt option to the kernel […]
Because this is worth repeating
Posted by Kyle Lexmond in Xen on November 23, 2011
I could have sworn I did this a while ago. But I got the error “‘Out of memory’, “xc_dom_boot_mem_init: can’t allocate low memory for domain\n “” when I tried to do a virt-install today. The problem? I was installing a 64bit domU on a 32bit dom0. Which is a no-no. Didn’t realise until I found […]
Dangers of not thinking about what you’re typing
Posted by Kyle Lexmond in Linux, Xen on November 7, 2011
Just upgraded a domU to Fedora 15 from F14. As part of the upgrade, init essentially dies, and you have to hard reboot the VM. So I thought “Oh hey, why not use the Magic Sysrq keys to trigger a reboot. After all, I just learnt about xm sysrq.” The first command, xm sysrq 0 […]
How I learnt to love xl block-attach
Posted by Kyle Lexmond in Linux, Xen on November 7, 2011
Originally, I exported one block device to each VM, then partitioned it. No fuss, everything self-contained in the one file/logical volume. Then I had a few incidences where the VM crashed, and I needed to get a file or two off the virtual drive. It was a complicated process, as detailed in one of my […]
Xen 4.1.2 on Fedora 16 Beta – My experience
Posted by Kyle Lexmond in Xen on October 31, 2011
Duplicate of my mail to the Xen-users list:
Revised Fedora virt-install command
Posted by Kyle Lexmond in Xen on October 22, 2011
I got tired of having to muck around with kpartx and such whenever a domU went down. So I decided to just go with 4 LVs per domU – root, home, swap and boot. The command to create the LVs is just one really long one, the original command replicated 4 times: lvcreate -L10G -n […]
Win2K8R2 as HVM VM on Xen 4.1
Posted by Kyle Lexmond in Xen on October 21, 2011
Config file: pastebin.com/ULE1Y49R Also, it’s working fine without the Xen extensions, though there’s (at least) one unknown device in the device manager)