[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: Xen-devel Digest, Vol 62, Issue 257


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: BEI GUAN <gbtju85@xxxxxxxxx>
  • Date: Wed, 21 Apr 2010 23:06:28 +0800
  • Delivery-date: Wed, 21 Apr 2010 08:07:13 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dZ6lFQ469xJckdJ+LxihpYGceadNMRybtnSnx+eDByOz+avAPhcnwdpdKmOawRyFk0 HyzlTurIjlovIZ/n2AWxtTotOwSlvHfBA4LfVuncb2D6srSJIRsXq3buZ2DHbnbuAVSM 1Rmev02nuphxEmLovwnmgDpoKw9zVh3YAK36c=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello, everyone,

I'm having several problems with xen hvm. The Xen version is 3.3.0, domain 0 is Fedora 8, and hvm domainU is Windows XP.


1. My hvm(Win_xp) can not access to the internet because it can not connet to the default gateway. My config file is listed below and my domain 0 can access internet normally.


2. The option "full-screen" in the config file seems to not work. When setting "full-screen=1", I can not create the hvm. The detail error like this:

   [root@localhost windowsxp]# xm create winxp.hvm --vncviewer
    Using config file "./winxp.hvm".
    Error: Errors were found at line 219 while processing ./winxp.hvm:
            full-screen=1


3. The option "usbdevice" in the config file seems to not work correctly, when there are more than one "usbdevice" options are set. I mean that only the last option can work correctly when more than one "usbdevice" options are set. For example, in my winxp.hvm file (as following), the "usbdevice='tablet'" can not work. However, the last one, "usbdevice="host:0ea0:2168" can work correctly.



My winxp.hvm file as following:
#===================================================
import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

#----------------------------------------------------------------------------
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
name = "WinXp_HVMDomain"
vcpus=1
pae=1
vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0, model=ne2k_pci' ]
disk = [ 'file:/root/mycode/img/windowsxp/winxp.img,ioemu:hda,w' ]
> on_reboot   = 'restart'
on_crash    = 'restart'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="c"
sdl=0
opengl=1
vnc=1
vnclisten="0.0.0.0"
vncdisplay=1
vncunused=0
vncpasswd='123'
stdvga=0
serial='pty'
monitor=1
localtime=8
#full-screen=0
#---Usb Setting------
usb=1
#usbdevice='mouse'
usbdevice='tablet'
usbdevice="host:0ea0:2168"



Your early reply is my great appreciation. Thank you very much.

Yours Sincerely,
gavin



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.