Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

RE: [Xen-devel] question when xm create the ubuntu virtual machine in RH

To: "wang jeppeter" <jeppeter@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] question when xm create the ubuntu virtual machine in RHEL5
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 31 May 2007 11:27:52 +0200
Delivery-date: Thu, 31 May 2007 02:26:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <773fc9c80705310211r50616685ycdc2c81ebdc7d60c@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcejZG9EwoAtF+FwS2KvHV8qqKeVeAAAUPNA
Thread-topic: [Xen-devel] question when xm create the ubuntu virtual machine in RHEL5
 

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> wang jeppeter
> Sent: 31 May 2007 10:12
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] question when xm create the ubuntu 
> virtual machine in RHEL5
> 
> Everyone:
>         Hello. i want to setup the ubuntu virtual machine in 
> the RHEL5 OS, and i have install the package of xen and 
> xen-libs from the origine package in the RHEL5 
> ISO.xen-3.0.3-25.el5.x86_64.rpm  and 
> xen-libs-3.0.3-25.el5.x86_64.rpm because i use the AMD 3800+ 
> platform . I follow the instruction copy the 
> /etc/xen/xmexample.hvm as /etc/xen/ubuntu2 
>  
> the content of this is like this
>  
[snip]
> and no more has been modified .
> 
> but when i use command
> 
>  
> 
> xm create ubuntu2 
> 
>  
> 
> it fails  with the notion of 
> 
> Using config file "/etc/xen/ubuntu2".
> Error: Disk image does not exist: /var/images/min-el3-i386.img
> 
> i make sure /etc/xen/ubuntu2 is the config file i edit
> 
>  
> 
> and the /var/images/min-el3-i386.img exists when i use command
> 
> dd if=/dev/zero of=/var/images/min-el3-i386.img bs=1M count=128
> 
> to make it
> 
> i google the website to figure out this problem . As a result 
> , i notice that some said just because the 
> 
> selinux not allow the file access ,and i add the command 
> 
> semanage fcontext -a -f "" -t xen_image_t '/var/images(/.*)?'
> 
> and making sure the rule is in the context as i type command 
> 
> semanage fcontext -l | grep xen_image
> 
> /var/images(/.*)?                                  all files  
>         system_u:object_r:xen_image_t:s0
> 
> this resolution does not work .
> 
> can someone tell me how to solve this problem when i create 
> the xen vm.

Have you tried just setting "selinux=0" (or whatever method you disable
SElinux) on the boot-line? That would tell you if it's Selinux that is
the problem or not. 

--
Mats
> 
> thank you
> 
>  
> 
> regards
> 
> jeppeter
> 
> 
> 
> 
>  
> 
> 



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

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