]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'vhost/linux-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 22 Apr 2013 06:55:53 +0000 (16:55 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 22 Apr 2013 06:55:53 +0000 (16:55 +1000)
Conflicts:
include/linux/kvm_host.h
include/uapi/linux/kvm.h
virt/kvm/eventfd.c

1  2 
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
include/uapi/linux/kvm.h
virt/kvm/eventfd.c
virt/kvm/kvm_main.c

Simple merge
Simple merge
index 77a1818bfafb75179941349992aceccbbfc05d4e,35b74cdaf4710b986098fea3e8375cd4a0c2fd99..7b87c2c48df106c25d980a06960341567e29764f
@@@ -152,7 -149,7 +152,8 @@@ struct kvm_io_bus 
  enum kvm_bus {
        KVM_MMIO_BUS,
        KVM_PIO_BUS,
 +      KVM_VIRTIO_CCW_NOTIFY_BUS,
+       KVM_PV_MMIO_BUS,
        KVM_NR_BUSES
  };
  
index 74d0ff3dfd666b073bc1698e05e646ed0b4a9fed,61783ee327177b336d75426dfbdd728bc9e11315..67c65f0de812101e8938101e2b7ac020f496d9c9
@@@ -449,15 -449,20 +449,23 @@@ enum 
        kvm_ioeventfd_flag_nr_datamatch,
        kvm_ioeventfd_flag_nr_pio,
        kvm_ioeventfd_flag_nr_deassign,
 +      kvm_ioeventfd_flag_nr_virtio_ccw_notify,
+       kvm_ioeventfd_flag_nr_pv_mmio,
        kvm_ioeventfd_flag_nr_max,
  };
  
  #define KVM_IOEVENTFD_FLAG_DATAMATCH (1 << kvm_ioeventfd_flag_nr_datamatch)
  #define KVM_IOEVENTFD_FLAG_PIO       (1 << kvm_ioeventfd_flag_nr_pio)
+ /*
+  * PV_MMIO - Guest can promise us that all accesses touching this address
+  * are writes of specified length, starting at the specified address.
+  * If not - it's a Guest bug.
+  * Can not be used together with either PIO or DATAMATCH.
+  */
+ #define KVM_IOEVENTFD_FLAG_PV_MMIO   (1 << kvm_ioeventfd_flag_nr_pv_mmio)
  #define KVM_IOEVENTFD_FLAG_DEASSIGN  (1 << kvm_ioeventfd_flag_nr_deassign)
 +#define KVM_IOEVENTFD_FLAG_VIRTIO_CCW_NOTIFY \
 +      (1 << kvm_ioeventfd_flag_nr_virtio_ccw_notify)
  
  #define KVM_IOEVENTFD_VALID_FLAG_MASK  ((1 << kvm_ioeventfd_flag_nr_max) - 1)
  
Simple merge
Simple merge