summaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2011-04-11 19:09:59 -0700
committerBryan Cantrill <bryan@joyent.com>2011-04-11 19:09:59 -0700
commit258020d289cea5e172901feb4bec931a97e5eccd (patch)
treee237ad4bc77b8da7bdebfb0b32a4b5621ec967cc /kvm.h
parentc3b11306ea03e31233e410325b50530d51dd13f1 (diff)
downloadillumos-kvm-258020d289cea5e172901feb4bec931a97e5eccd.tar.gz
HVM-45 native KVM spinning in real-mode due to failing programmed I/O
Diffstat (limited to 'kvm.h')
-rw-r--r--kvm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/kvm.h b/kvm.h
index 83a6354..9d02fd3 100644
--- a/kvm.h
+++ b/kvm.h
@@ -1286,6 +1286,16 @@ struct kvm_run {
uint64_t psw_addr; /* psw lower half */
#endif
union {
+ /*
+ * As a temporary hack, we set the PFNs for programmed I/O and
+ * memory-mapped I/O upon initialization to allow them to be
+ * mmap'd after the kvm_run structure.
+ */
+ struct {
+ uint64_t xxx_pio_paddr;
+ uint64_t xxx_mmio_paddr;
+ } xxx_paddrs;
+
/* KVM_EXIT_UNKNOWN */
struct {
uint64_t hardware_exit_reason;