From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: Re: VGA pass-through Date: Tue, 30 Jun 2009 17:33:59 +0400 Message-ID: <4A4A1447.3080707@msgid.tls.msk.ru> References: <9B4771B4D9FB73498B40311D4E7E8EE50EBCEFBF@atl-ms2.us.megatrends.com> <715D42877B251141A38726ABF5CABF2C0545A1FAD1@pdsmsx503.ccr.corp.intel.com> <4A49B5E7.2010509@redhat.com> <715D42877B251141A38726ABF5CABF2C0545A1FB28@pdsmsx503.ccr.corp.intel.com> <4A49D32E.20603@msgid.tls.msk.ru> <715D42877B251141A38726ABF5CABF2C0545A1FBA6@pdsmsx503.ccr.corp.intel.com> <4A4A00E2.4040905@msgid.tls.msk.ru> <715D42877B251141A38726ABF5CABF2C0545A1FBD9@pdsmsx503.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 'Avi Kivity' , 'Subash Kalbarga' , "'kvm@vger.kernel.org'" To: "Han, Weidong" Return-path: Received: from isrv.corpit.ru ([81.13.33.159]:41025 "EHLO isrv.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751594AbZF3NeA (ORCPT ); Tue, 30 Jun 2009 09:34:00 -0400 In-Reply-To: <715D42877B251141A38726ABF5CABF2C0545A1FBD9@pdsmsx503.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Han, Weidong wrote: > Michael Tokarev wrote: >> Han, Weidong wrote: >>> Michael Tokarev wrote: >> [] >>>> But how about using it as a "secondary" video card? Like, I can >>>> plug another add-on vga card into a free PCI slot and tell X to >>>> use that one instead of "default" card. Can kvm work like this? >>> "secondary" means secondary video card in host, and will be >>> "primary" in guest, right? As long as it's primary in guest, I think >>> you still need most of above changes. >> No, I mean "secondary" on guest - no matter if it's secondary or >> primary on host. So that we'll have qemu-emulated VGA as primary >> and a hardware-based secondary on *guest*. > > Oh, for "secondary" in guest, it may needn't above changes. You can try it without any change. I can't: ENOHARDWARE. >> How much useful it is - it's another question. For instance, I've >> no idea how windows guest will be able to use such "secondary" vga >> card on guest. > > I don't know. Is there any interesting usage of this secondary VGA in guest? I *guess* windows can be told to use non-primary display. But I've no idea how. Also, it certainly supports multi-display configuration somehow. Running most stuff on "secondary" should be possible. /mjt