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

Re: [Xen-users] Xen 3.1.4: HVM Configuration


  • To: deshantm@xxxxxxxxx
  • From: "Omer Khalid" <Omer.Khalid@xxxxxxx>
  • Date: Tue, 19 Aug 2008 18:13:53 +0200
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 19 Aug 2008 09:14:34 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=l8a6jcE2M5pRs8a/Q6OnMfRCzp0fCnbk0B+/fKrr5gkwMKLOQhrK//npokjt9TK9nN urR3v7Hq9RKUxqHDx7ZJiwf9RWvhzisSFCvtSoqOoEr3i8TKfEqZJByI2k0VFgf/Bj9L tHRFuU9VsRrIOyW6sAnhCf216u1AupXkwFgb4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Todd,

Thanks a lot for your reply. updatedb and locate qemu-dm provided me the path i was looking for.

Thanks,
Omer

On Mon, Aug 18, 2008 at 2:42 AM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
On Sun, Aug 17, 2008 at 11:51 AM, Omer Khalid <Omer.Khalid@xxxxxxx> wrote:
> Hi,
> I just installed Xen 3.1.4 on an x86_64 machine, and as I verified for the
> HVM configuration file for my VM e.g.
> kernel="/usr/lib/xen/boot/hvmloader"
> builder='hvm'
> device_model='/usr/lib/xen/bin/qemu-dm'
> memory=4188
> name='SLC4_64'
> vif=[ 'type=ioemu,bridge=xenbr0' ]
> disk=['phy:/dev/sda6,ioemu:hda,w','file:/usr/local/iso/edgy_amd64.iso,hdc:cdrom,r']
> boot='d'
> #vcpu=
> #cpu=
> Q1: I noticed that there is no /usr/lib/xen/bin/qemu-dm file for the
> device_model entry. Why this line is required in the configuration file, and
> how could I get this qemu-dm file.

The device model entry tells Xen which backend device model to use.
For paravirtual (PV)
guests this is the standard front/back PV device model, so it is
assumed. For full
virtualization (HVM) guests it is typically the QEMU device model.

The location of the qemu-dm binary depends on how you installed Xen
(by source or by
a distribution package.).

a simple way to find it is to do:
updatedb
locate qemu-dm

it is typically in

/usr/<your architecture lib directory>/xen/bin/


> Q2: Secondly, in the disk entry: can I use "xvda1" or "xvda2" rather than
> "ioemu:hda"? Why "ioemu:hda" necessary?

Since HVM guests use the QEMU device model by default you can't use xvda
devices unless you install the PV drivers on the HVM guest. You can get the
latest GPL PV drivers from:

http://wiki.xensource.com/xenwiki/XenWindowsGplPv

Cheers,
Todd

--
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com



--
Omer

-------------------------------------------------------
CERN -- European Organization for Nuclear
Research, IT Department, CH-1211,
Geneva 23, Switzerland

Phone: +41 (0) 22 767 2224
Fax: +41 (0) 22 766 8683
E-mail : Omer.Khalid@xxxxxxx
Homepage: http://cern.ch/Omer.Khalid
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.