qemu/hw/i386/kvm
Pavel Fedin a05f686ff3 hw/pci: Introduce pci_requester_id()
For GICv3 ITS implementation we are going to use requester IDs in KVM IRQ
routing code. This patch introduces reusable convenient way to obtain this
ID from the device pointer. The new function is now used in some places,
where the same calculation was used.

MemTxAttrs.stream_id also renamed to requester_id in order to better
reflect semantics of the field.

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <5814bcb03a297f198e796b13ed9c35059c52f89b.1444916432.git.p.fedin@samsung.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-10-19 10:13:07 +02:00
..
apic.c kvm/apic: fix 2.2->2.1 migration 2014-12-15 12:21:02 +01:00
clock.c valgrind/i386: avoid false positives on KVM_SET_CLOCK ioctl 2014-12-15 12:21:01 +01:00
i8254.c valgrind/i386: avoid false positives on KVM_SET_PIT ioctl 2014-12-15 12:21:01 +01:00
i8259.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
ioapic.c hmp: added io apic dump state 2015-09-25 12:04:42 +02:00
Makefile.objs hw: move hw/kvm/ to hw/i386/kvm 2013-04-08 18:13:16 +02:00
pci-assign.c hw/pci: Introduce pci_requester_id() 2015-10-19 10:13:07 +02:00