[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [sneak preview] major scsi overhaul
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [sneak preview] major scsi overhaul |
Date: |
Mon, 9 Nov 2009 22:38:09 +0200 |
On Mon, Nov 9, 2009 at 2:37 PM, Avi Kivity <address@hidden> wrote:
> On 11/09/2009 11:08 AM, Gerd Hoffmann wrote:
>>
>>> You are also moving the compilation to Makefile.hw, which is not
>>> exactly an improvement. Is this needed because of the QEMUIOVector
>>> stuff?
>>
>> Almost correct ;)
>>
>> It is because of QEMUSGList which drags in a target_phys_addr_t
>> dependency.
>
> As Michael notes, devices have physical address sizes independent of the
> target platform; a PCI device that supports 64-bit addresses can be plugged
> into a motherboard that supports 32-bit address bus processors.
True. But I think the solution is not to make all buses maximum width,
but support multiple buses with width translation in between.
> We can fix this in several ways:
> - creating QEMUSG64List and QEMUSG32List (and typedefing PCISGList to the
> former)
> - making QEMUSGList always use 64-bit addresses since it will almost always
> be used with devices (which are often 64-bit capable)
> - making target_phys_addr_t always 64-bit (which loses some performance with
> 32-on-32 emulation)
> - others?
We could improve the compilation system so that on 64 bit hosts the
benefit of single size target_phys_addr_t results in compiling the
files only once.
- [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/06
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Blue Swirl, 2009/11/07
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/09
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Avi Kivity, 2009/11/09
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/09
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Avi Kivity, 2009/11/09
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/09
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Avi Kivity, 2009/11/09
- Re: [Qemu-devel] [sneak preview] major scsi overhaul,
Blue Swirl <=
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/09
Re: [Qemu-devel] [sneak preview] major scsi overhaul, Paul Brook, 2009/11/10
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/11
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Paul Brook, 2009/11/11
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/11
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Paul Brook, 2009/11/11
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/16
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Paul Brook, 2009/11/16
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/16
- Re: [Qemu-devel] [sneak preview] major scsi overhaul, Gerd Hoffmann, 2009/11/24