Install SNV81 DomU at Fedora 7 Dom0 (x86_64)
Procedure descibed bellow attaches Solaris DomU to libvirtd's daemon
subnet 192.168.122.0 (netmask 255.255.255.0) utilizing interface virbr0
and dnsmasq service. It doesn't require DHCP bridge and external DHCP
Server to turn on old fashion xen-bridging on F7(8), as was suggested
in xen-discuss forum at opensolaris.org:-
Re: Xen 3.1 Linux Dom0 (x86_64) & PYGRUB
Fedora 7 Dom0 (64 bit) has been installed on the box with static IP address.
File /etc/xen/xend-config.sxp was modified to set up a isolated bridge + NAT forwarding:-
# (network-script network-bridge)
#### LAPTOP USERS ! #####
# For laptops, or machines where network interfaces come/go on-the-fly,
# or are otherwise managed by NetworkManager, comment out the above line.
# Then, uncomment the line below, and use libvirt's virtual networking
# capability which sets up a isolated bridge + NAT forwarding
(network-script /bin/true)
Then daemon xend has been restarted :-
# service xend restart
Both services libvirtd and dnsmasq were up and running.
Interface virbr0 actived 192.168.122.1
SNV81 DomU has been installed with DHCP option on libvirtd's (dnsmasq) subnet
192.168.122.0 (netmask 255.255.255.0).
In case when vif=[' ']
[root@fedora7xen vm]# brctl show
bridge name bridge id STP enabled interfaces
tmpbridge 8000.feffffffffff no vif5.0
virbr0 8000.000000000000 no
DHCP request to libvirtd's dhcp server (dnsmasq service) timed out
In case when vif=['bridge = virbr0']
[root@fedora7xen vm]# brctl show
bridge name bridge id STP enabled interfaces
tmpbridge 8000.000000000000 no
virbr0 8000.feffffffffff no vif6.0
DHCP request to libvirtd's dhcp server (dnsmasq service) succeeded in 1-2 minutes
Installation profile:-
name = "Solaris81"
vcpus = 1
memory = "1024"
kernel = "/usr/lib/xen-solaris/unix-81"
ramdisk = "/usr/lib/xen-solaris/x86.miniroot-81"
extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom"
disk = ['file:/usr/lib/xen-solaris/snv81.iso,6:cdrom,r','phy:/dev/sdb7,0,w']
vif = ['bridge = virbr0']
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"
Command "xm list -l Solaris81" been executed in backend window reported, that bridge
used during installation was virbr0.
Runtime profile:-
name = "Solaris81"
vcpus = 1
memory = "1024"
kernel = "/usr/lib/xen-solaris/unix-81"
ramdisk = "/usr/lib/xen-solaris/x86.miniroot-81"
extra = "/platform/i86xpv/kernel/amd64/unix"
disk = ['phy:/dev/sdb7,0,w']
vif = ['bridge = virbr0']
root= "/dev/dsk/c0d0s0"
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"
Runtime snapshots :-