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

[Xen-users] problem with pciback


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Peter Gavin" <pgavin@xxxxxxxxx>
  • Date: Mon, 13 Nov 2006 15:47:51 -0500
  • Delivery-date: Mon, 13 Nov 2006 12:48:12 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YEG0HURKNrrXAQ5PzhcpFbCux2/++UmAVwK5cULbXCvGcsdzxBia8cK5zcSQfgfw9gMUoY9jDoBzbJ28PKa24sPTBVwIasglu3WxmQKV2bM88ijWKxhSqQqC7BfcYXYY/1d1kCC/H8JZw/IbtMZV26kAQmKsk9OjNiyG0g4AUAc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

I'm attempting to run Windows XP in a domU using the PCs actual
graphics card.  I believe I've set everything up correctly, including
the pciback module etc.

I've set pciback to grab the graphics card and all the USB hosts as well:

(from dmesg)
pciback 0000:00:02.0: seizing device
pciback 0000:00:02.1: seizing device
pciback 0000:00:1a.0: seizing device
pciback 0000:00:1a.1: seizing device
pciback 0000:00:1a.7: seizing device
pciback 0000:00:1b.0: seizing device
pciback 0000:00:1d.0: seizing device
pciback 0000:00:1d.1: seizing device
pciback 0000:00:1d.2: seizing device
pciback 0000:00:1d.7: seizing device

00:02.{0,1} correspond to the graphics card, the rest are USB devices.

This is my winxp.hvm:

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
shadow_memory = 8
name = "winxp"
pae=1
vif = [ 'type=ioemu, mac=aa:00:b0:00:00:11' ]
disk = [ 'phy:/dev/xen-domU/winxp,ioemu:hda,w', 'file:/winxp.iso,hdc:cdrom,r' ]
pci=[ '00:02.0', '00:02.1', '00:1a.0', '00:1a.7', '00:1b.0',
'00:1d.0', '00:1d.1', '00:1d.2', '00:1d.7' ]
restart = 'always'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="d"
sdl=0
vnc=0
stdvga=0
nographics=1
serial='pty'

I set sdl=vnc=stdvga=0 to keep the emulated gfx device from being created.

It looks (so far) like the windows xp domU is grabbing the devices as
it should, but its not working the way I want :)   What I'd like to
happen is for the monitor attached to the onboard graphics to show the
windows installer, and to be able to use the usb mouse and keyboard
that are attached.

BTW, the machine only has the one graphics card, I'm controlling the
dom0 with a serial terminal.  When I run xm create winxp.hvm, this is
what I get:

Using config file "/etc/xen/winxp.hvm".
(XEN) (file=hvm.c, line=195) Allocated port 3 for hvm.
Started domain winxp
(XEN) vmx_do_launch(): GUEST_CR3<=00fd57a0, HOST_CR3<=20273000

then it hangs right there. xm list gives me:

winxp                                      6      512     1 ------      0.0

showing that the vm is sorta running, its been created at the least.

Does anyone have any ideas?

Thanks,
Pete

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


 


Rackspace

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