search for: kvm_io_bus

Displaying 5 results from an estimated 5 matches for "kvm_io_bus".

2018 Dec 18
1
[PATCH] virtio-ccw: diag 500 may return a negative cookie
...8b210 100644 --- a/Documentation/virtual/kvm/s390-diag.txt +++ b/Documentation/virtual/kvm/s390-diag.txt @@ -68,7 +68,8 @@ Subcode 3 - virtio-ccw notification identifier, it is ignored. After completion of the DIAGNOSE call, general register 2 may contain - a 64bit identifier (in the kvm_io_bus cookie case). + a 64bit identifier (in the kvm_io_bus cookie case), or a negative + error value, if an internal error occurred. See also the virtio standard for a discussion of this hypercall. -- 2.17.2
2018 Dec 19
3
[PULL 0/1] virtio-ccw: one more patch for 4.21
The following changes since commit 37d1246af2d530710cf5822d2845774f01c03b22: virtio_net: bulk free tx skbs (2018-12-06 14:28:39 -0500) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git tags/virtio-ccw-20181219 for you to fetch changes up to 6fb95ef30707f1b2fcaea8d6dc873055e0460b1a: virtio-ccw: diag 500 may return a negative cookie
2018 Dec 19
3
[PULL 0/1] virtio-ccw: one more patch for 4.21
The following changes since commit 37d1246af2d530710cf5822d2845774f01c03b22: virtio_net: bulk free tx skbs (2018-12-06 14:28:39 -0500) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git tags/virtio-ccw-20181219 for you to fetch changes up to 6fb95ef30707f1b2fcaea8d6dc873055e0460b1a: virtio-ccw: diag 500 may return a negative cookie
2013 Apr 04
1
[PATCH RFC] kvm: add PV MMIO EVENTFD
...s(+), 5 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 6667042..cdaac9b 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -5127,6 +5127,10 @@ static int handle_ept_misconfig(struct kvm_vcpu *vcpu) gpa_t gpa; gpa = vmcs_read64(GUEST_PHYSICAL_ADDRESS); + if (!kvm_io_bus_write(vcpu->kvm, KVM_PV_MMIO_BUS, gpa, 0, NULL)) { + skip_emulated_instruction(vcpu); + return 1; + } ret = handle_mmio_page_fault_common(vcpu, gpa, true); if (likely(ret == 1)) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index f19ac0a..b9223d9 100644 --- a/arch/x86/kvm/x86.c ++...
2013 Apr 04
1
[PATCH RFC] kvm: add PV MMIO EVENTFD
...s(+), 5 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 6667042..cdaac9b 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -5127,6 +5127,10 @@ static int handle_ept_misconfig(struct kvm_vcpu *vcpu) gpa_t gpa; gpa = vmcs_read64(GUEST_PHYSICAL_ADDRESS); + if (!kvm_io_bus_write(vcpu->kvm, KVM_PV_MMIO_BUS, gpa, 0, NULL)) { + skip_emulated_instruction(vcpu); + return 1; + } ret = handle_mmio_page_fault_common(vcpu, gpa, true); if (likely(ret == 1)) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index f19ac0a..b9223d9 100644 --- a/arch/x86/kvm/x86.c ++...