]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Only perform PCI config space writes on PCI_ACCESS_PERFORM
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 29 Jul 2014 18:45:23 +0000 (20:45 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sun, 3 Aug 2014 19:22:55 +0000 (21:22 +0200)
commitac8d7bf941655a65e08ae717d02db39f4c13b75d
treed258f09795d4adc984e0e76240a3d9fb6d66ce7c
parent4e7b4673dd19eed10403e073d77529e8faedcbb7
core: Only perform PCI config space writes on PCI_ACCESS_PERFORM

If we emulate a config space write, we may be able to skip the physical
access completely. To model this, rename PCI_ACCESS_EMULATE to
PCI_ACCESS_DONE which signals to the caller of the moderation functions
that no physical access should be performed.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/pci.c
hypervisor/include/jailhouse/pci.h
hypervisor/pci.c