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

[Xen-users] Second Dom0-like DomU with graphics hardware access

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Second Dom0-like DomU with graphics hardware access
From: Paul Schulze <avlex@xxxxxxx>
Date: Fri, 1 Aug 2008 21:26:47 +0200
Delivery-date: Fri, 01 Aug 2008 12:27:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-pgp-agent:x-mailer:sender; bh=teOs5LanJ24YhVDA5zdE5v1zsMYeA6ATAtI4/6Uh07g=; b=Nm05+i4qrqyu+ggQyPkoYnFKp4OYV/V15nyU+YunOgejf7mQI3tfjmdpu60dvuu1z+ yugHsoenbp9C0Lyc+5sbvfojxmS+/5O07ab+q0/VU+yVPkmpQ6WTxk9/rJzOSIYZIu3j uawmNtye1IPOo9tlIFaLqrAZYo1KOUhCJWXRs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-pgp-agent:x-mailer:sender; b=fClUVQQl8FGfeVLp0Eae1qZEak0o6odmoi3ieYAMH6CYxvA9MiPg1kJXNFUPqdhpDc RgZa29LXmg6WysadUDMuDWxGx96bp28ULmy91HAA9Bj89EKPp3Ri4zMnCrg7iM7gQ+UB QBR2WPuIlE/mYfLCXx6BtzkUTJcrFQufM1Xw0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey everyone,

First, I think I just more or less succeeded on passing my primary (and only) graphics card, an onboard ATI Radeon HD3200, through to a DomU. Or at least there is no error message stating otherwise, when I start the DomU and the device is shown when lspci is used. Before someone gets too excited, Xorg still complains about not finding the device and the output from booting the Xen kernel is still the only thing, displayed on the connected monitor.

Now the first question is, does anyone have an idea on how to prevent Xen from grabbing and writing its output to the VGA hardware, if it should already have a serial console to work with? I am assuming, that even if I have the kernel output to the serial console and have pciback hide the graphics card, Xen still hands the graphics card directly to the Dom0, if it shows its messages on one and the kernel grabs it, even if it isn't needed for output. This might cause Xorg in the DomU not to find the device. If this isn't the problem here, does anyone have any ideas on what is going wrong?

The second question is, does anyone know if it is possible to have PS2 devices (aka. keyboard and mouse) exclusively assigned to one DomU? I would really like to separate the VM, controlling Xen and my desktop VM for various reasons (f.e. to not have to restart every DomU along with the Dom0, if the desktop system receives an update, security and so on). Since I can use the serial console from another device to control Xen (or use SSH), I really don't need keyboard and mouse in the Dom0 and having PS2 support in the Desktop DomU would be just nice, especially since I'm a little short on USB input devices right now, so the USB controllers, I passed to the same DomU aren't much help.

And the third problem, I am facing at the moment, I still don't get the boot output or any login prompt on the connected monitor, probably because the TTYs are fake in a Xen DomU. Is there a way to have these connect to the real VGA adapter instead?

Thanks,


Paul.

P.S.: To round up the crazy stuff, if anyone knows a way to intercept signals from the power button in Dom0, Id like to know. Would be nice if I could start up and shutdown the Desktop DomU like that.

- --
Paul Schulze
avlex@xxxxxxx
Public Key: http://solaris-net.dyndns.org/keys/key_avlex.asc

"Making mistakes is human,
but to really fuck things up you need Computers"


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFIk2N3YDWOGtiChoARArk+AJkB0NerkWHV6BLRbYj62oT+0T6sxQCfSyTO
BC7zhdQ5W9XqsyyYaMzfYKo=
=IHla
-----END PGP SIGNATURE-----

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

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