WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] VGA Passthru

To: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>, 王俊仁 <ben3468.wang@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] VGA Passthru
From: <destinyqq@xxxxxxxxxxx>
Date: Tue, 11 May 2010 17:47:01 +0800
Cc:
Delivery-date: Tue, 11 May 2010 02:48:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <4BE7CB100200009900055611@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4BE7CB100200009900055611@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Nick Couchman

Did you mean like this: we will not see any VGA output and can not login to desktop,if add "xen-pciback.hide=(00:02.0)" to grub ?

   I can't passthrough Q45-IGD to hvm.

I add "xen-pciback.hide=(00:02.0)" to grub, but i can login to desktop, and i can see 00:02.0 in "xm pci-list-assignable-devices".

Then,I create hvm, the monitor input disappear. But i can reboot Dom0 from Keyboard.

   This is my log:

domid: 1
Watching /local/domain/0/device-model/1/logdirty/cmd
Watching /local/domain/0/device-model/1/command
char device redirected to /dev/pts/1
qemu_map_cache_init nr_buckets = 4000 size 327680
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = 16796547-bbc7-c0ad-5253-565df7f2e08a
Time offset set 0
xs_read(/local/domain/0/device-model/1/xen_extended_power_mgmt): read error
Log-dirty: no command yet.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 00:02.0 ...
register_real_device: Enable MSI translation via per device option
register_real_device: Disable power management
pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x0:0x2.0x0 pt_register_regions: IO region registered (size=0x00400000 base_addr=0xd3400004) pt_register_regions: IO region registered (size=0x10000000 base_addr=0xb000000c) pt_register_regions: IO region registered (size=0x00000008 base_addr=0x0000f221)
setup_vga_pt: vga bios checksum is adjusted!
pt_msgctrl_reg_init: MSI enabled already, disable first
register_real_device: Error: Mapping irq failed, rc = -1
pt_msi_setup: msi mapped with pirq 37
pci_intx: intx=1
register_real_device: Real physical device 00:02.0 registered successfuly!
IRQ type = MSI-INTx



--------------------------------------------------
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Sent: Monday, May 10, 2010 11:00 PM
To: "王俊仁" <ben3468.wang@xxxxxxxxx>; <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] VGA Passthru

This may seem like an obvious point, but when you enable VGA or PCI
passthrough, you are not *sharing* these devices between dom0 and domU,
the devices are taken away from dom0 and assigned *exclusively* to domU.
This means that, once you assign your VGA card to your domU, you will
no longer be able to use the console to log in to dom0.  Also, if your
machine has a single network interface card, and you assign that to your
domU, your dom0 will no longer be able to use the network card and you
will lose access to it.  PCI devices may only be assigned to one dom, so
you need to choose your configuration correctly.

I pass my VGA and USB controllers through to my domU, and use the
serial port for direct physical access to my dom0.  The network card
remains in dom0, and I used network bridging to run network connections
from my domU and maintain network connectivity for dom0.

-Nick

On 2010/05/08 at 05:32, 王俊仁<ben3468.wang@xxxxxxxxx> wrote:
Hello
  I am new in XEN and Linux. I am trying the VGA passthru. I can
xen-pciback.hide EtherNet, Serial Com port. But when I
xen-pciback.hide my
VGA. I can no longer login to the Linux(Fedora 12).
Then how can I xm create a XP DomU guest? Can anyone help?

I am using Intel Q35 MB with Intel Core2 CPU.



--------
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.




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


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

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