From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: Re: VGA pass-through Date: Tue, 30 Jun 2009 16:11:14 +0400 Message-ID: <4A4A00E2.4040905@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> 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]:39451 "EHLO isrv.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751869AbZF3MLP (ORCPT ); Tue, 30 Jun 2009 08:11:15 -0400 In-Reply-To: <715D42877B251141A38726ABF5CABF2C0545A1FBA6@pdsmsx503.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: 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*. 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. /mjt