Oracle Audio Technologies E10898-02 User Manual
Page 39
Installing Paravirtual Drivers
Creating a Guest Virtual Machine
4-15
http://linux.oracle.com/
2.
Modify the /etc/modprobe.conf file to comment out existing eth0 line and add the
following lines:
alias scsi_hostadapter xen_vbd
alias eth0 xen_vnif
3.
Run depmod.
4.
Edit the /etc/xen/vm.cfg file to replace the vif entry to:
vif = [ '', ] # for PVM
or
vif = [ 'type=netfront, ', ] # for PVHVM
5.
Shut down the domain:
# xm shutdown
mydomain
6.
Start the domain:
# xm create /OVS/running_pool/
myguest
/vm.cfg
7.
When prompted by kudzu, remove the old network configuration.
8.
In the newly booted guest operating system, run the following command to find
the new MAC address for eth0:
# ifconfig eth0
9.
Edit the /etc/xen/vm.cfg file to add the new MAC address:
vif = [ 'mac=xx:xx:xx:xx:xx:xx, bridge=xenbr0', ] # for HVM
or
vif = [ 'type=netfront, mac=xx:xx:xx:xx:xx:xx, bridge=xenbr0', ] # for PVHVM
10.
Create or edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file with the
following contents:
TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=xx:xx:xx:xx:xx:xx
11.
Create a new initrd image. Use the kernel version for your guest operating system.
# mkinitrd -f /boot/initrd-2.6.9-42.0.3.8.2.ELsmp.img 2.6.9-42.0.3.8.2.ELsmp
--omit-scsi-modules --with=xen-vbd
12.
Reboot the domain.