Download presentation
Presentation is loading. Please wait.
1
NetBSD and Linux as Xen-Guest Christoph Egger
Xen Workshop NetBSD and Linux as Xen-Guest Christoph Egger March 2009 Xen-Workshop
2
Xen Workshop Create the image: dd if=/dev/zero of=./domu.img bs=1m count=2000 Or alternatively get image from previous Qemu or KVM installation Create guest config file (in detail on next slides) Start guest: xm create domu.conf Attention: HVM vs. PV DomU /etc/fstab entries in the guest image disk devices may be different Xen-Workshop
3
Xen Workshop Guest config variables: name Guest name (xm list) kernel Bootkernel memory Guest memory in Megabyte vcpus Number of virtual cpus vif Network configuration disk Disk configuration boot Boot order extra Kernel Parameters vnc Enable/Disable VNC vnclisten Listen on which interfaces (default „ “) pci PCI passthrough (default disabled) Xen-Workshop
4
Xen Workshop PV DomU name=“my-pv-guest“ kernel=“/path/to/domu-kernel“ memory=1024 vcpus=2 vif=[ 'bridge=bridge0' ] disk=[ 'file:/path/to/domu.img,0x1,w', 'phy:/dev/cd0a,0x2,r' ] boot=“cd“ extra=““ Xen-Workshop
5
Xen Workshop HVM DomU name=“my-hvm-guest“ kernel=“/path/to/hvmloader“ memory=1024 vcpus=2 vif=[ 'type=ioemu,bridge=bridge0' ] disk=[ 'file:/path/to/domu.img,0x1,w', 'phy:/dev/cd0a,0x2,r' ] boot=“cd“ extra=““ vnc=1 vnclisten=“ “ pci=['02:00:00'] Xen-Workshop
6
Xen Workshop Dom0 differences: Installations-Pfade: kernel=“/usr/pkg/lib/xen/boot/hvmloader“ kernel=“/usr/lib64/xen/bin/hvmloader“ kernel=“/usr/lib/xen/bin/hvmloader“ PCI Passthrough: (lspci, pcictl pci0 list) pci=['02:00:00'] DomU differences: *BSD: disk=[ 'file:/path/to/domu.img,0x1,w' ] Linux: disk=[ 'file:/path/to/domu.img,hda,w' ] Xen-Workshop
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.