Archive for category Xen

Specifying dom0 RAM in Xen – update

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 […]

,

No Comments

Defining the dom0 memory limit in GRUB2

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 […]

,

No Comments

Fedora 16 domUs – Update

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 […]

, ,

No Comments

Fedora 16 dom0 – update

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 […]

,

2 Comments

Because this is worth repeating

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 […]

, ,

No Comments

Dangers of not thinking about what you’re typing

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 […]

No Comments

How I learnt to love xl block-attach

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 […]

4 Comments

Xen 4.1.2 on Fedora 16 Beta – My experience

Duplicate of my mail to the Xen-users list:

,

No Comments

Revised Fedora virt-install command

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 […]

,

No Comments

Win2K8R2 as HVM VM on Xen 4.1

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)

No Comments