Re: [Qemu-devel] Re: [PATCH V6 17/32] pci: 64bit bar support.

2009-11-04 Thread Michael S. Tsirkin
On Wed, Nov 04, 2009 at 03:20:02PM +0900, Isaku Yamahata wrote: > On Tue, Nov 03, 2009 at 04:09:16PM +0200, Michael S. Tsirkin wrote: > > > > Long term, we should fix all devices and *then* they can claim 64 bit > > > > support always. As a nice side effect, we'll be able to avoid > > > > rebuildi

Re: [Qemu-devel] Re: [PATCH V6 17/32] pci: 64bit bar support.

2009-11-03 Thread Isaku Yamahata
On Tue, Nov 03, 2009 at 04:09:16PM +0200, Michael S. Tsirkin wrote: > > > Long term, we should fix all devices and *then* they can claim 64 bit > > > support always. As a nice side effect, we'll be able to avoid > > > rebuilding devices. > > > > Are you claiming that (PCI) devices emulation shoul

Re: [Qemu-devel] Re: [PATCH V6 17/32] pci: 64bit bar support.

2009-11-03 Thread Michael S. Tsirkin
On Tue, Nov 03, 2009 at 11:01:00PM +0900, Isaku Yamahata wrote: > On Tue, Nov 03, 2009 at 02:39:06PM +0200, Michael S. Tsirkin wrote: > > On Tue, Nov 03, 2009 at 02:22:07PM +0200, Avi Kivity wrote: > > > On 11/03/2009 01:47 PM, Michael S. Tsirkin wrote: > > >> > > >> If qemu is compiled with target

Re: [Qemu-devel] Re: [PATCH V6 17/32] pci: 64bit bar support.

2009-11-03 Thread Isaku Yamahata
On Tue, Nov 03, 2009 at 02:39:06PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 03, 2009 at 02:22:07PM +0200, Avi Kivity wrote: > > On 11/03/2009 01:47 PM, Michael S. Tsirkin wrote: > >> > >> If qemu is compiled with target phys address size 32 bit, emulated > >> devices can not support a 64 bit

Re: [Qemu-devel] Re: [PATCH V6 17/32] pci: 64bit bar support.

2009-11-03 Thread Michael S. Tsirkin
On Tue, Nov 03, 2009 at 02:39:06PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 03, 2009 at 02:22:07PM +0200, Avi Kivity wrote: > > On 11/03/2009 01:47 PM, Michael S. Tsirkin wrote: > >> > >> If qemu is compiled with target phys address size 32 bit, emulated > >> devices can not support a 64 bit

Re: [Qemu-devel] Re: [PATCH V6 17/32] pci: 64bit bar support.

2009-11-03 Thread Michael S. Tsirkin
On Tue, Nov 03, 2009 at 02:22:07PM +0200, Avi Kivity wrote: > On 11/03/2009 01:47 PM, Michael S. Tsirkin wrote: >> >> If qemu is compiled with target phys address size 32 bit, emulated >> devices can not support a 64 bit BAR. Therefore, according to PCI spec, >> such devices should declare all BAR

Re: [Qemu-devel] Re: [PATCH V6 17/32] pci: 64bit bar support.

2009-11-03 Thread Avi Kivity
On 11/03/2009 01:47 PM, Michael S. Tsirkin wrote: If qemu is compiled with target phys address size 32 bit, emulated devices can not support a 64 bit BAR. Therefore, according to PCI spec, such devices should declare all BARs as 32 bit. What happens if you take a PCI card that supports 6