| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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 
#============================================================================ import os, re #---------------------------------------------------------------------------- # The domain build function. HVM domain uses 'hvm'. memory = 128 # Shadow pagetable memory for the domain, in MB. # A name for your domain. All domains must have different names. # 128-bit UUID for the domain.  The default behavior is to generate a new UUID #----------------------------------------------------------------------------- # enable/disable HVM guest PAE, default=0 (disabled) # enable/disable HVM guest ACPI, default=0 (disabled) # enable/disable HVM guest APIC, default=0 (disabled) # List of which CPUS this domain is allowed to use, default Xen picks # Optionally define mac and/or bridge for the network interfaces. #---------------------------------------------------------------------------- #disk = [ 'phy:hda1,hda1,r' ] #---------------------------------------------------------------------------- #>#on_reboot   = 'restart' #============================================================================ # New stuff #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- #----------------------------------------------------------------------------- 
 
 
 
 #   Enable USB mouse support (only enable one of the following, `mouse' for #----------------------------------------------------------------------------- 
 
 in the red word is i have modified ,these are 
 boot="cda" => boot="dca" sdl=0 => sdl=1 vnc=1 => vnc=0 
 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". 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. thank you 
 regards jeppeter 
 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |