hda-intel: convert to pci_register_bar_simple()
Signed-off-by: Avi Kivity <avi@redhat.com>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hda-intel: convert to pci_register_bar_simple() (partial)
ich/ahci: convert to pci_register_bar_simple()
pcnet-pci: convert to pci_register_bar_simple()
pci: add pci_register_bar_simple() API
This is similar to pci_register_bar(), but automatically registers a singlememory region spanning the entire BAR.
rtl8139: convert to pci_register_bar_simple()
cirrus-vga: convert to pci_register_bar_simple()
eepro100: convert to pci_register_bar_simple()
cirrus_vga: flag on-device ram for dirty logging
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
vhost: optimize out no-change assignment
Cirrus VGA (at least) calls register memory regionwith the same values again and again. Theregistration in vhost-net slows this a lot,optimize by checking that the same data is already registered.
View revisions
Also available in: Atom