WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] using physical disks with HVM

To: "Henning Sprang" <henning_sprang@xxxxxx>
Subject: Re: [Xen-users] using physical disks with HVM
From: Steve Dobbelstein <steved@xxxxxxxxxx>
Date: Wed, 16 Aug 2006 10:44:22 -0500
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 16 Aug 2006 08:45:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5bb00b3f0608140958i21ab8cffifdefbe6da91aa6b5@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
"Henning Sprang" <henning_sprang@xxxxxx> wrote on 08/14/2006 11:58:18 AM:

> Hi,
>
> On 8/14/06, Steve Dobbelstein <steved@xxxxxxxxxx> wrote:
> > [...]
> > > It seems qemu is expecting to get a file-based disk. What do I need
to
> > > do to get hvm use a physical disk?
> >
> > I'm using LVM volumes for my HVM disks just fine.  Did you try
specifying
> > the full name of the device with the "/dev/" prefix?  For example:
> > disk    = [
'phy:/dev/data/faitest-client-generic-hvm-disk,ioemu:hda,w']
>
> I just tried that out, and just reused the config file that didn't
> work yesterday, but today it just worked, also with the relative path.

Glad it's working for you.

> No idea what was wrong yesterday, in the meantime the machine was
> turned of for the night, but nothing else changed that I can think of.
>
> Maybe some sepcific kernel modules must be loaded, or something else
> that can make qemu fail with the given error message?

Not having seen this problem myself I can only guess what might be going
wrong.  I doubt it's a kernel module since you said nothing changed with
the setup.  I'm guessing that perhaps qemu has a bug in setting up the disk
or that the Xen domain creation tools have a bug in generating the
appropriate parameters for invoking qemu.  But those are just guesses.

Steve D.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>