[libvirt] [PATCH 0/4] VirtualBox support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I have attached a patch which when applied on the HEAD as of today would allow 
virtualbox support in libvirt. It takes cares of all the stuff mentioned on 
the list earlier. Still if I have missed anything, please do tell me.

The patches are organized as below:
Patch 0/4: contains sample xml file
Patch 1/4: contains diff of files already in libvirt.
Patch 2/4: contains new files needed for VirtualBox support.
Patch 3/4: contains support for host only and internal network.
Patch 4/4: contains support for rdp in libvirt as mentioned by danpb (also had 
sent it separately earlier)

Regards,
Pritesh
<domain type='vbox'>
	<name>vbox</name>
	<uuid>4dab22b31d52d8f32516782e98ab3fa0</uuid>

	<os>
		<type>hvm</type>
		<boot dev='cdrom'/>
		<boot dev='hd'/>
		<boot dev='fd'/>
		<boot dev='network'/>
	</os>

	<memory>654321</memory>
	<vcpu>1</vcpu>

	<features>
		<pae/>
		<acpi/>
		<apic/>
	</features>

	<devices>
		<disk type='file' device='cdrom'>
			<source file='/home/pk221555/Downloads/slax-6.0.9.iso'/>
			<target dev='hdc'/>
			<readonly/>
		</disk>

		<disk type='file' device='disk'>
			<source file='/home/pk221555/tmpp/vbox.vdi'/>
			<target dev='hdd'/>
		</disk>

		<disk type='file' device='floppy'>
			<source file='/home/pk221555/tmpp/WIN98C.IMG'/>
			<target dev='fda'/>
		</disk>

		<!--INTERNAL NETWORK -->
		<interface type='internal'>
			<source name='int_net'/>
			<model type='am79c970a'/>
		</interface>

		<!--BRIDGE-->
		<interface type='bridge'>
			<source bridge='eth0'/>
			<mac address='00:16:3e:5d:c7:9e'/>
			<model type='am79c973'/>
		</interface>

		<!--NAT-->
		<interface type='user'>
			<mac address='56:16:3e:5d:c7:9e'/>
			<model type='82540eM'/>
		</interface>

		<!-- HOST ONLY NETWORK -->
		<interface type='hostonly'>
			<source name='vboxnet0'/>
			<mac address='78:16:3e:4d:c7:9e'/>
			<model type='82543gc'/>
		</interface>

		<sound model='sb16'/>

		<parallel type='dev'>
			<source path='/dev/pts/1'/>
			<target port='0'/>
		</parallel>

		<parallel type='dev'>
			<source path='/dev/pts/2'/>
			<target port='1'/>
		</parallel>

		<serial type="dev">
			<source path="/dev/ttyS0"/>
			<target port="0"/>
		</serial>

		<serial type="pipe">
			<source path="/tmp/serial.txt"/>
			<target port="1"/>
		</serial>

		<!-- VRDP Support -->
		<graphics type='rdp' port='3389' auth='guest' reuseconnection='yes' multiconnections='yes' authtimeout='4999' listen='10.16.203.214'/>

		<hostdev mode='subsystem' type='usb'>
			<source>
				<vendor id='0x1234'/>
				<product id='0xbeef'/>
			</source>
		</hostdev>

		<hostdev mode='subsystem' type='usb'>
			<source>
				<vendor id='0x4321'/>
				<product id='0xfeeb'/>
			</source>
		</hostdev>

	</devices>

</domain>
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]