[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] pci-host: add educational driver
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] pci-host: add educational driver |
Date: |
Mon, 13 Oct 2014 15:02:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
Il 13/10/2014 10:32, Jiri Slaby ha scritto:
> No, the DMA addresses are on purpose 32-bit: to teach the people always
> set the dma mask properly in the driver. This driver copies COMBO6x
> devices (liberouter.org) behaviour which I used until the cards got
> obsoleted (hard to find PCI-X slots nowadays).
>
> I can make this configurable if you wish.
Yeah, that would help (to avoid setting a bad example). You could have
extra commands to switch between 32- and 64-bit DMA masks.
Paolo