qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Spice-devel] [PATCH 4/4] [experimental] add optinal 64


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [Spice-devel] [PATCH 4/4] [experimental] add optinal 64bit vram bar to qxl
Date: Mon, 20 Feb 2012 09:00:14 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120210 Thunderbird/10.0.1

  Hi,

> I guess you will s/4/QXL_VRAM64_RANGE_INDEX/ when you send the
> spice-protocol patch?

Yes.

>> -    if (qxl->vram_size < 4096) {
>> -        qxl->vram_size = 4096;
>> +    if (qxl->vram_size < qxl->vram32_size) {
>> +        qxl->vram_size = qxl->vram32_size;
> 
> Am I reading correctly that you want the 64bit bar to be at least the
> size of the 32bit bar? why?

The 64bit bar isn't additional memory.  Both 32bit and 64bit bar are
backed by the same memory, the 64bit bar is just a different way to
access it.  So it doesn't make sense at all to make the 64bit bar
smaller than the 32bit bar.  The other way around makes sense, to save
address space below 4G.

cheers,
  Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]