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/
Home Products Support Community News


Re: [Xen-devel] A dumb question

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] A dumb question
From: Nicolas Bougues <nbougues-listes@xxxxxxxxxxx>
Date: Fri, 10 Oct 2003 17:49:45 +0200
Delivery-date: Fri, 10 Oct 2003 16:50:18 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <1065798119.8621.112.camel@wyvis>
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>
Mail-followup-to: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Organization: Axialys Interactive http://www.axialys.net
References: <20031009152618.GB4108@flan> <1065713897.27213.6.camel@wyvis> <20031010130403.GA7486@flan> <1065798119.8621.112.camel@wyvis>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.4i
On Fri, Oct 10, 2003 at 04:01:59PM +0100, Rolf Neugebauer wrote:

> > 1.) Is it possible to access the created vd (virtual disk) or the
> created 
> > vbd (virtual block device)  _without_ booting and logging in to domain
> 1 ??
> > I have found no way to access either the created vd or vbd in domain 0
> > in order to create a filesystem on it and to fill it with something
> usefull.
> You should be able to use "xenctl vdb create -k<key> -v0 -w -n0"
> to make the virtual block device accessible from domain0 as
> /dev/xvda (major 125, minor 0 -- use tools/misc/xen-mkdevnodes if
> the device doesn't exist)
> I haven't tried this in a while, but it should work unless it got
> accidentally broken when the "xenctl physical grant" stuff got
> added. 

That's what I thought. Unfortunatly, it doesn't work : it says 

Expected -n<domain_id>

because in the java source, it tests that the domain is != 0.

I modified the Java so that it accepts 0 as a domain, and what
happened was :

error: disk number missing

followed by an Oops with a NULL pointer dereference.

I didn't dig further, because I thought that it wasn't suppose to work
this way. But since you (well, Ian) implies that it shall work, I'll
try to get into the kernel source to see what's going on.

Any idea welcomed, however :)

Nicolas Bougues
Axialys Interactive

This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
Xen-devel mailing list

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