Skip to content
  • Will Deacon's avatar
    kvm tools: pci: add MMIO interface to virtio-pci devices · a463650c
    Will Deacon authored
    This patch adds an MMIO interface for each virtio-pci device, so that
    they can be accessed without having to use an ioport. For each device, a
    new memory BAR is added which corresponds to an area of MMIO space with
    a shim trap handler. This handler simply translates the access into an
    ioport access via kvm__emulate_io. Since guests can generate accesses
    via either the ioport or MMIO regions, an ioeventfd is registered for
    Signed-off-by: default avatarWill Deacon <>
    Signed-off-by: default avatarPekka Enberg <>