[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Disabling cirrus-vga

  • To: "Stefano Stabellini" <stefano.stabellini@xxxxxxxxxxxxx>
  • From: "billy lau" <billylau@xxxxxxxxx>
  • Date: Fri, 12 Dec 2008 07:46:26 -0500
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Jun Koi <junkoi2004@xxxxxxxxx>
  • Delivery-date: Fri, 12 Dec 2008 04:46:52 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=QG27xiifLoV8ftlehrSdqKQx6mQ6F56BKqZDZKnzh1Rdc+y4kJK/oIDUAlaeFJLh8y KxY6A8jCc9J33HIHdG2Uz2qiIwyWikchgg3yh1NM1IBgA1gb6H9GQWWsqfVfKm4nfCff nSZmuhXfzdVzNZ6LjrRij/J1S1u9qnQYCua9Y=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Fri, Dec 12, 2008 at 5:33 AM, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:
billy lau wrote:

> On Thu, Dec 11, 2008 at 8:09 PM, Jun Koi <junkoi2004@xxxxxxxxx
> <mailto:junkoi2004@xxxxxxxxx>> wrote:
>     On Fri, Dec 12, 2008 at 9:49 AM, billy lau <billylau@xxxxxxxxx
>     <mailto:billylau@xxxxxxxxx>> 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

Alright, I will give that a try, and get back to you guys again. Thanks for the input.

- billy

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.