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

[Xen-devel] Could not use VGA passthrough without the Cirrus logic VGA


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: kazushi takahashi <w1ndoz@xxxxxxxxxxxxxxxx>
  • Date: Tue, 12 May 2009 12:14:13 +0900
  • Delivery-date: Mon, 11 May 2009 20:14:39 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=hEMUxjl9t39jcPuilJ59ufnYd+qWf0J2Bld4cNJZ32yQIy3i9MUMjmy3Bg6+BLCgso qJBlMQ+Xxrm//XWrlO3R6x1+0L+oJqB6inEDMkTeJKMbxAn+XFcSwnm0za4DxnalxyYY sfZe477NKD3jnCl5R9Q8l2uI+Bt5hlgEbz+os=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi, all

I am trying to use PCI-passthrough with a VGA device on a HVM DomU --
The HVM DomU is installed WindowsXP(SP2)
I want to run the DomU without the Cirrus logic VGA which is a default
VGA device on QEMU. So, I need to the DomU recognizes only the
passthroughed VGA.

I applied the following patches to the Xen-unstable. I used the latest
branch of Xen-unstable.
http://article.gmane.org/gmane.comp.emulators.xen.devel/51194
http://lists.xensource.com/archives/html/xen-devel/2008-12/msg00617.html

But, I could not start the DomU with the following messages:
Here is /var/log/xen/qemu-dm-windows.log
domid: 1
qemu: the number of cpus is 1
qemu: could not open vbd '/local/domain/0/backend/vbd/1/5632/params'
or hard disk image '/dev/cdrom' (drv 'phy' format 'raw')
Watching /local/domain/0/device-model/1/logdirty/next-active
Watching /local/domain/0/device-model/1/command
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 009a4840-4c63-aa42-222c-d7760285490b
Time offset set 0
register_real_device: Assigning real physical device 06:00.0 ...
pt_register_regions: IO region registered (size=0x01000000 base_addr=0xe1000000)
pt_register_regions: IO region registered (size=0x10000000 base_addr=0xd0000008)
pt_register_regions: IO region registered (size=0x01000000 base_addr=0xe0000000)
pt_register_regions: Expansion ROM registered (size=0x00020000
base_addr=0xe2020002)
register_real_device: Real physical device 06:00.0 registered successfuly!
IRQ type = INTx
register_real_device: Assigning real physical device 06:03.0 ...
pt_register_regions: IO region registered (size=0x00001000 base_addr=0xe2000000)
register_real_device: Real physical device 06:03.0 registered successfuly!
IRQ type = INTx
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/1/xen_extended_power_mgmt): read error
xs_read(): vncpasswd get error.
/vm/009a4840-4c63-aa42-222c-d7760285490b/vncpasswd.
medium change watch on `hdc' (index: 1): /dev/cdrom
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0

Here is the part of /var/log/xend.log:
 'a7922859-a71f-f970-60cb-5cc9c406f61d'}
[2009-05-12 12:07:16 6606] INFO (pciquirk:90) NO quirks found for PCI
device [10de:0221:10fc:1270]
[2009-05-12 12:07:16 6606] DEBUG (pciquirk:132) Permissive mode NOT
enabled for PCI device [10de:0221:10fc:1270]
[2009-05-12 12:07:16 6606] DEBUG (pciif:349) pci: enabling iomem
0xe1000000/0x1000000 pfn 0xe1000/0x1000
[2009-05-12 12:07:16 6606] DEBUG (pciif:349) pci: enabling iomem
0xd0000000/0x10000000 pfn 0xd0000/0x10000
[2009-05-12 12:07:16 6606] DEBUG (pciif:349) pci: enabling iomem
0xe0000000/0x1000000 pfn 0xe0000/0x1000
[2009-05-12 12:07:16 6606] DEBUG (pciif:349) pci: enabling iomem
0xe2020000/0x20000 pfn 0xe2020/0x20
[2009-05-12 12:07:16 6606] DEBUG (pciif:379) pci: enabling irq 20
[2009-05-12 12:07:16 6606] INFO (pciquirk:90) NO quirks found for PCI
device [11c1:5811:11c1:5811]
[2009-05-12 12:07:16 6606] DEBUG (pciquirk:132) Permissive mode NOT
enabled for PCI device [11c1:5811:11c1:5811]
[2009-05-12 12:07:16 6606] DEBUG (pciif:349) pci: enabling iomem
0xe2000000/0x1000 pfn 0xe2000/0x1
[2009-05-12 12:07:16 6606] DEBUG (pciif:379) pci: enabling irq 19
[2009-05-12 12:07:16 6606] DEBUG (pciif:458) pci: register aer watch
/local/domain/0/backend/pci/1/0/aerState
[2009-05-12 12:07:16 6606] DEBUG (DevController:95) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/pci/1/0'} to /local/domain/1/de\
vice/pci/0.

The DomU was shutting down suddenly before showing QEMU-BIOS banner messages.
So, I seem like QEMU-BIOS was not able to run on the DomU normally.

I using a nVidia Corporation NV44A [GeForce 6200] as the passthroughed
VGA and using CentOS 5 with Dom0.

Any advice?
Thanks.

_______________________________________________
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®.