On Tue, 23 Oct 2012, Yinghai Lu wrote: > On Tue, Oct 23, 2012 at 5:22 AM, Stefano Stabellini > <[email protected]> wrote: > > On Mon, 22 Oct 2012, Yinghai Lu wrote: > >> Can you test domU 32bit too? > >> I did not test that, and looks like Jacob only test 64 bit domU too. > > > > Sure. It works fine. > > great. > > Do you know any simple way to test xen domU after pxe booting xen/dom0 via > pxe? > > >From kvm, it is simple with pxe: > 1. build kernel and iso at the same time., initrd is converted from > opensuse rescue initramfs. > 2. copy kernel and iso into boot server > 3. network boot the kernel > 4. mount nfs dir so could access iso, and qemu-kvm. > 5. qemu-kvm to load the iso.
After building and installing the Xen tools in Dom0 (basically everything that comes out a xen-unstable build), you can use "xl" to create VMs: 1) build and install xen and tools in dom0 (make; make install) If you are running dom0 out of his initramfs you might have to add them to it. But I guess that you can also make them available to your dom0 via nfs share. 2) copy your domU kernel and initrd to dom0 3) Write a simple config file in dom0 with the path to the kernel and initrd name = "linux" kernel = "/path/to/vmlinuz" ramdisk = "/path/to/initrd" memory = 1024 vcpus = 4 vif = [ 'bridge=xenbr0' ] disk = [ '/path/to/debian_squeeze_amd64_standard.raw,raw,xvda,w' ] extra = 'textmode=1 xencons=xvc0' root = "/dev/xvda1" 4) create the VM xl create -c /path/to/config_file As an alternative you can get an account on Amazon EC2 for few cents per hour and test your kernel over there ;) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

