Getting started with FreeBSD 8.0 RC2 on Xen

Vincent Hoffman vince at unsane.co.uk
Thu Nov 5 10:00:04 UTC 2009


Mr. Olli wrote:
> Hi,
>
> I'm planing on installing the same scenario but with intel processor.
> opensolaris is a good choice because it has XEN and ZFS in stable state.
>
> Why is XEN-3.4 hypervisor needed? Is it already available for
> opensolaris?
>   
I have a Centos5 box using xen 3.3 running a 8.x machine. its a little
behind -STABLE now so I will update it and check its still ok, but
root at seaslug.namesco.net VMCONFIG]# rpm -q xen
xen-3.3.1-0
[root at seaslug.namesco.net VMCONFIG]# rpm -q libvirt
libvirt-0.4.4-3

libvirt config file is pretty generic.

<domain type='xen' id='46'>
  <name>xenfbsd8</name>
  <uuid>ef9020ea-ba0d-5560-909c-35f69b164130</uuid>
  <os>
    <type>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
    <boot dev='cdrom'/>
  </os>
  <memory>262144</memory>
  <vcpu>1</vcpu>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/vg.a/lv.3'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/vg.b/lv.3'/>
      <target dev='hdb' bus='ide'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='file'/>
      <source file='/iso/8.0-RELENG_8-20090824-JPSNAP-i386-dvd1.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='bridge'>
      <source bridge='eth0'/>
      <target dev='vif46.0'/>
      <mac address='00:16:3e:03:2b:35'/>
      <script path='/etc/xen/scripts/vif-bridge'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5902' passwd='password-here'/>
    <input type='tablet' bus='usb'/>
    <serial type='pty'>
      <source path='/dev/pts/3'/>
      <target port='0'/>
    </serial>
    <console type='pty' tty='/dev/pts/3'>
      <source path='/dev/pts/3'/>
      <target port='0'/>
    </console>
  </devices>
</domain>



Vince
> Regards,
> ---
> Mr. Olli
>
>
> On Wed, 2009-11-04 at 15:44 -0500, Martin Cracauer wrote:
>   
>> Allan wrote on Wed, Nov 04, 2009 at 03:14:24PM -0500: 
>>     
>>> Hello,
>>>
>>> I would like to properly run FreeBSD 8 on my installation of Xen. I've got
>>> an AMD X2 processor and 8GB of ram on my host system. It's running
>>> OpenSolaris xVM svn_124.
>>>
>>> Xen information:
>>> Using library: libvir 0.6.0
>>> Using API: Xen 3.0.1
>>> Running hypervisor: Xen 3.3
>>>       
>> You will need Xen 3.4 unless that changed recently.  The easiest way
>> to get that and a matching Dom0 is installing Debian/unstable.
>>
>> Martin
>>     
>
> _______________________________________________
> freebsd-xen at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscribe at freebsd.org"
>   



More information about the freebsd-xen mailing list