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-devel

Re: [Xen-devel] Creating partitions on domain U

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Creating partitions on domain U
From: Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>
Date: Wed, 19 Jan 2005 00:56:22 +0000
Cc: Eric Tessler <maiden1134@xxxxxxxxx>
Delivery-date: Wed, 19 Jan 2005 01:49:57 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <20050118234616.26643.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <20050118234616.26643.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.1
> Does a guest (domain U) have the ability to create partitions on a virtual
> disk drive (/dev/hda1)?   For example, can I use parted/fdisk to create my
> own partitions on a VBD from within domain U?

Yup, should work fine, with the caveat that it's a bit more fiddly viewing 
these "partitions" in dom0 (unless the VBD corresponds to a whole disk) 
because it won't be expecting to see partitions in a file / another 
partition.  I don't know what dom0 would make of partitions in LVM volumes.

> Also, does the XEN front-end block driver support any IOCTLs?  I looked in
> the code and it explicitely fails all IOCTLs received from the kernel.

Generic block device IOCTLs will be provided by the kernel (whereas in 2.4 the 
driver had to do more of this work itself).  Anything else (e.g. 
CD-ROM-specific ioctls) isn't supported.

Cheers,
Mark


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel