From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: Disabling cirrus-vga Date: Fri, 12 Dec 2008 10:33:24 +0000 Message-ID: <49423DF4.4060709@eu.citrix.com> References: <6b5ba5140812111649r4275a3cu3ece54d56965a733@mail.gmail.com> <6b5ba5140812112130xcb532e8r5256651d2b37be86@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6b5ba5140812112130xcb532e8r5256651d2b37be86@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: billy lau Cc: xen-devel@lists.xensource.com, Jun Koi List-Id: xen-devel@lists.xenproject.org billy lau wrote: > > > On Thu, Dec 11, 2008 at 8:09 PM, Jun Koi > wrote: > > On Fri, Dec 12, 2008 at 9:49 AM, billy lau > wrote: > > Hi xen developers, > > > > Does any of you know how to disable the cirrus-vga emulation for > hvm in xen? > > I have been trying to disable that from the source codes, but even > with > > that, I still see a VGA controller when I boot up my guest domain. In > > particular, I would like to do this because I am passing through a > graphics > > card to my guest domain using direct pass through. > > Sorry that I dont understand your motivation. If your card is > passthrough, the guest would load the appropriate driver for that. So > why do you care about the cirrus-vga driver? > > > This is because, even after installing the appropriate driver, there is > a conflict of device. Even after I disabled the cirrus driver, the > actual driver was reported to be "unable to access resources". Does that > sound reasonable then? I think at the moment there is no way to do it from the command line. You have to comment out any call to pci_cirrus_vga_init, isa_cirrus_vga_init, pci_vmsvga_init, pci_vga_init and isa_vga_init in hw/pc.c (lines 939-962). You may also want to disable loadind the vgabios, also in hw/pc.c (load_image_targphys).