Subject: Re: Running multiple DomUs on a VT-capable CPU
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: John R. Shannon <john@johnrshannon.com>
List: port-xen
Date: 08/29/2007 14:47:19
This is a cryptographically signed message in MIME format.
--------------ms050207000506090405020702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Manuel Bouyer wrote:
> On Wed, Aug 29, 2007 at 10:06:42PM +0200, Marcin Michal Jessa wrote:
>> Manuel Bouyer wrote:
>>> On Wed, Aug 29, 2007 at 09:53:28AM +0200, Marcin M. Jessa wrote:
>>>
>>>> Hi guys
>>>>
>>>> My laptop has Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz which is a VT-capable
>>>> processor and I was thinking of running DomU on it with NetBSD 4.0 and run
>>>> virtual OSs from there.
>>>> So in order to access my domUs I would have to run VNC server , right ?
>>>> Or is there a more intuitive way to just switch to console running a DomU
>>>> host ?
>>>>
>>> No, you have to use vnc for your domU's console (or the native X11 display)
>>>
>> Is 3D acceleration available in remote sessions?
>
> Not that I know
See: http://www.cs.toronto.edu/~andreslc/xen-gl/
I have a test pkg nearly complete.
Also, it may be possible with XF4VNC.
>
>> What if I had two graphics cards, could I map one DomU to use a specific
>> card
>> and display it on one screen?
>
> Maybe, but I guess it depends on the cards. These are not "normal" PCI devices,
> as they also map some ISA-space registers to be compatible with plain VGA.
> Some can work without theses, some can't ...
>
>> Or could I map one of the DomUs to the main gfx card after dom0 started
>> it and run X session from it?
>
> I'm almost sure this won't work, because of the VGA registers which are
> in ISA space. If you can use a VGA card in a domU, I think is has to be
> another card than the one used by BIOS
There are some reports of the two grapics card approach working. See the
first "Cool Configuration" in the Xen WIKI:
http://wiki.xensource.com/xenwiki/CoolConfigurations
This does depend on PCI passthrough.
--
John R. Shannon, CISSP
Chief Scientist
DSCI, Information Assurance Division
jshannon@dsci-usa.com
john.r.shannon@us.army.mil
shannonjr@NetBSD.org
(208)522-4506
--------------ms050207000506090405020702
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIM2TCC
BmcwggVPoAMCAQICAQYwDQYJKoZIhvcNAQEFBQAwgY8xCzAJBgNVBAYTAlVTMQ4wDAYDVQQI
EwVJZGFobzEUMBIGA1UEBxMLSWRhaG8gRmFsbHMxGTAXBgNVBAoTEGpvaG5yc2hhbm5vbi5j
b20xGTAXBgNVBAMTEGpvaG5yc2hhbm5vbi5jb20xJDAiBgkqhkiG9w0BCQEWFWpvaG5Aam9o
bnJzaGFubm9uLmNvbTAeFw0wNzAxMjYyMTE4MTBaFw0wODAxMjYyMTE4MTBaMIGaMQswCQYD
VQQGEwJVUzEOMAwGA1UECBMFSWRhaG8xFDASBgNVBAcTC0lkYWhvIEZhbGxzMRkwFwYDVQQK
ExBqb2hucnNoYW5ub24uY29tMSQwIgYDVQQDExtKb2huIFIuIFNoYW5ub24gKHNpZ25hdHVy
ZSkxJDAiBgkqhkiG9w0BCQEWFWpvaG5Aam9obnJzaGFubm9uLmNvbTCCAiIwDQYJKoZIhvcN
AQEBBQADggIPADCCAgoCggIBAMQ9KILKz4yrZgUgHwVh5BVXGO+yOPUJkYvt5QcGHObTGKU3
UlDOLFF2KO2unuT/BDV+e1UJijfLwMqLPDnNT5yr/Se1GeuhwbHdUa2DMOGU9bipCcwd9R6q
YS9LBnOuhE/pQvj6JTojipu6ykPFH83gyZMIHmufOnfLyIJEW7EQRmrssBpYuLtoPOj7EhVp
14wCae+xh+HgAU/SXGS0jAhyTEKBYHJ+oHDtu+vODZRzVj1wVjwJOUHkzuoeozP64S4GqRq9
61LNatoWsXjnitG0uvkgTQCOGM3GFNtkSob6P9FxuGipGVlE9tAG3rqSfrZSwO6ftd2T2B1D
JrCHXqUPNr9Zynmb3wWMcA0eqBh7avNevedYq0raAkU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