WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Disabling cirrus-vga

To: "billy lau" <billylau@xxxxxxxxx>
Subject: Re: [Xen-devel] Disabling cirrus-vga
From: "Jun Koi" <junkoi2004@xxxxxxxxx>
Date: Sat, 13 Dec 2008 11:58:08 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 12 Dec 2008 18:58:36 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=V+VJxmo2kYlOBRpV4eWxXsaS7gqXXdycq4xDWkQmUZY=; b=iNpy2QCRmtyI1hwwMlfkQgFLGc9S5tdHt8p9F+D90RNrcsy+FOIs4wYgZY5b5Oi19k J/eq0e+mGObaFNhOBycAr94XSv+jXBsnzs48p9GB+lNdLoRh9ktIkmJy3gVf5mt9BNLF X77GbayftLIw8QD2V+aG3e7H8JcR57JiJ9LU8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RzNgUdLSvVJn2yX5TiRAhDTNaDmawnS97vhEs47wIP7oqWmcNtUZCsFVXE2hurXdu7 6DC5NUW54EOkXgL+A21dOECjUcvOg4jVYnQDva1zvLUWRr4Z/8anv2fCmFCknlR94eKN SBJMHgkvIBqr+ZbhCTkC2atd2lzkeEZNyseMI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6b5ba5140812121658u630657f0i232b6971d46d26f1@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <6b5ba5140812111649r4275a3cu3ece54d56965a733@xxxxxxxxxxxxxx> <fdaac4d50812111709k20ccac3g77c164d1f225880a@xxxxxxxxxxxxxx> <6b5ba5140812112130xcb532e8r5256651d2b37be86@xxxxxxxxxxxxxx> <49423DF4.4060709@xxxxxxxxxxxxx> <6b5ba5140812120446q7afb3244of5e705a1e6e7b274@xxxxxxxxxxxxxx> <6b5ba5140812121658u630657f0i232b6971d46d26f1@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, Dec 13, 2008 at 9:58 AM, billy lau <billylau@xxxxxxxxx> wrote:
> Okay, after commenting those lines out, I noticed that my hvmloader doesn't
> run anymore. What happens is that when I do a xm list, I see this
>
> Name                                        ID   Mem VCPUs      State
> Time(s)
> Domain-0                                     0  2950     4     r-----
> 13.0
> vienna-windows                               1  1024     1     ------
> 1.0
>
> vienna-windows is my hvm guest. Then, looking at the log file,
>
> domid: 1
> qemu: the number of cpus is 1
> config qemu network with xen bridge for  tap1.0 xenbr0
> Watching /local/domain/0/device-model/1/logdirty/next-active
> Watching /local/domain/0/device-model/1/command
> xs_read(): vncpasswd get error.
> /vm/adeb6f31-4656-4a98-032f-14ebeb4b44a9/vncpasswd.

This looks like a bug??


>
> On Fri, Dec 12, 2008 at 7:46 AM, billy lau <billylau@xxxxxxxxx> wrote:
>>
>>
>> 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
>>> (load_image_targphys).
>>
>> Alright, I will give that a try, and get back to you guys again. Thanks
>> for the input.
>>
>> - billy
>>
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel