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 disk in HVM

To: "Jae-Wan Jang" <jwjang@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Using physical disk in HVM
From: pv <vishnubhatt@xxxxxxxxx>
Date: Thu, 29 Jun 2006 07:31:48 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Jun 2006 07:32:32 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=InDb7ZzCDvZu2Ta962r3c9JGKnUFvIU055R6tUCF9q3JiIKmLp1sAsd+i3ZVf647po39+sZINmqxFyr4rpoI/Ww5uX8r0+JW3G9bZLcLbPomY34N1xKpOIaIAvN8zRSNGi2wUlPP085u0LUSBggFbWHcjwAOXhV1oSp3KXBKCs8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44A3A227.30707@xxxxxxxxxxxxxxxxxx>
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>
References: <44A3A227.30707@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I use the following and it works fine in Windows (native, VTX enabled), I see the LVM that I'm passing as a raw hard disk, which I formatted and continue to use.
 
builder='hvm'
memory = '384'
name = "win2k31"
vcpus=1
pae=0
acpi=0
apic=0
cpus = ""
vif = [ 'type=ioemu, bridge=xenbr0',
        'type=ioemu, bridge=xenbr1'  ]
disk = [ 'file:/root/windisk/win2k31.img,ioemu:hda,w',
         'phy:/dev/sda3,ioemu:hdb,w' ]

on_reboot   = 'destroy'
on_crash    = 'destroy'
device_model = '/usr/lib/xen/bin/qemu-dm'
cdrom='/root/windisk/win2k31.iso'
boot='c'
sdl=1
vnc=0
vncviewer=0
stdvga=0
serial='pty'
ne2000=0
 
--

 
On 6/29/06, Jae-Wan Jang <jwjang@xxxxxxxxxxxxxxxxxx> wrote:
Hi, guys.

I'm trying to use physical disks as virtual disks in HVM domains.
But I couldn't.

I'm using cs10508 of xen-unstable.hg.

When I use
disk = [ 'phy:sda5,ioemu:hda,w' ]
in conf file, creating HVM domain says, I need to use 'file' modifier if
I use 'ioemu'.
So, I changed it to
disk = [ 'phy:sda5,hda,w' ].

But HVM window doesn't pop up.

Did you guys solve this problem?
Can't I use physical disk partitions for virtual disks?


Thank you in advance.

--
장재완 드림

Jae-Wan Jang
jwjang@xxxxxxxxxxxxxxxxxx
+82-42-869-3559
http://camars.kaist.ac.kr/~jwjang


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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>