* [PATCH] Documentation: virtual: kvm: correct one bit description in APF case
@ 2014-10-11 1:19 Tiejun Chen
2014-10-11 4:08 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Tiejun Chen @ 2014-10-11 1:19 UTC (permalink / raw)
To: pbonzini; +Cc: kvm
When commit 6adba5274206 (KVM: Let host know whether the guest can
handle async PF in non-userspace context.) is introduced, actually
bit 2 still is reserved and should be zero. Instead, bit 1 is 1 to
indicate if asynchronous page faults can be injected when vcpu is
in cpl == 0, and also please see this,
in the file kvm_para.h, #define KVM_ASYNC_PF_SEND_ALWAYS (1 << 1).
Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
---
Documentation/virtual/kvm/msr.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/virtual/kvm/msr.txt b/Documentation/virtual/kvm/msr.txt
index 6d470ae..2a71c8f 100644
--- a/Documentation/virtual/kvm/msr.txt
+++ b/Documentation/virtual/kvm/msr.txt
@@ -168,7 +168,7 @@ MSR_KVM_ASYNC_PF_EN: 0x4b564d02
64 byte memory area which must be in guest RAM and must be
zeroed. Bits 5-2 are reserved and should be zero. Bit 0 is 1
when asynchronous page faults are enabled on the vcpu 0 when
- disabled. Bit 2 is 1 if asynchronous page faults can be injected
+ disabled. Bit 1 is 1 if asynchronous page faults can be injected
when vcpu is in cpl == 0.
First 4 byte of 64 byte memory location will be written to by
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: virtual: kvm: correct one bit description in APF case
2014-10-11 1:19 [PATCH] Documentation: virtual: kvm: correct one bit description in APF case Tiejun Chen
@ 2014-10-11 4:08 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2014-10-11 4:08 UTC (permalink / raw)
To: Tiejun Chen; +Cc: kvm
Il 11/10/2014 03:19, Tiejun Chen ha scritto:
> When commit 6adba5274206 (KVM: Let host know whether the guest can
> handle async PF in non-userspace context.) is introduced, actually
> bit 2 still is reserved and should be zero. Instead, bit 1 is 1 to
> indicate if asynchronous page faults can be injected when vcpu is
> in cpl == 0, and also please see this,
>
> in the file kvm_para.h, #define KVM_ASYNC_PF_SEND_ALWAYS (1 << 1).
>
> Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
> ---
> Documentation/virtual/kvm/msr.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/virtual/kvm/msr.txt b/Documentation/virtual/kvm/msr.txt
> index 6d470ae..2a71c8f 100644
> --- a/Documentation/virtual/kvm/msr.txt
> +++ b/Documentation/virtual/kvm/msr.txt
> @@ -168,7 +168,7 @@ MSR_KVM_ASYNC_PF_EN: 0x4b564d02
> 64 byte memory area which must be in guest RAM and must be
> zeroed. Bits 5-2 are reserved and should be zero. Bit 0 is 1
> when asynchronous page faults are enabled on the vcpu 0 when
> - disabled. Bit 2 is 1 if asynchronous page faults can be injected
> + disabled. Bit 1 is 1 if asynchronous page faults can be injected
> when vcpu is in cpl == 0.
>
> First 4 byte of 64 byte memory location will be written to by
>
Thanks, applying locally.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-11 4:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-11 1:19 [PATCH] Documentation: virtual: kvm: correct one bit description in APF case Tiejun Chen
2014-10-11 4:08 ` Paolo Bonzini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.