diff options
Diffstat (limited to 'Documentation/kvm/api.txt')
| -rw-r--r-- | Documentation/kvm/api.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/kvm/api.txt b/Documentation/kvm/api.txt index e1a114161027..2811e452f756 100644 --- a/Documentation/kvm/api.txt +++ b/Documentation/kvm/api.txt | |||
| @@ -685,7 +685,7 @@ struct kvm_vcpu_events { | |||
| 685 | __u8 pad; | 685 | __u8 pad; |
| 686 | } nmi; | 686 | } nmi; |
| 687 | __u32 sipi_vector; | 687 | __u32 sipi_vector; |
| 688 | __u32 flags; /* must be zero */ | 688 | __u32 flags; |
| 689 | }; | 689 | }; |
| 690 | 690 | ||
| 691 | 4.30 KVM_SET_VCPU_EVENTS | 691 | 4.30 KVM_SET_VCPU_EVENTS |
| @@ -701,6 +701,14 @@ vcpu. | |||
| 701 | 701 | ||
| 702 | See KVM_GET_VCPU_EVENTS for the data structure. | 702 | See KVM_GET_VCPU_EVENTS for the data structure. |
| 703 | 703 | ||
| 704 | Fields that may be modified asynchronously by running VCPUs can be excluded | ||
| 705 | from the update. These fields are nmi.pending and sipi_vector. Keep the | ||
| 706 | corresponding bits in the flags field cleared to suppress overwriting the | ||
| 707 | current in-kernel state. The bits are: | ||
| 708 | |||
| 709 | KVM_VCPUEVENT_VALID_NMI_PENDING - transfer nmi.pending to the kernel | ||
| 710 | KVM_VCPUEVENT_VALID_SIPI_VECTOR - transfer sipi_vector | ||
| 711 | |||
| 704 | 712 | ||
| 705 | 5. The kvm_run structure | 713 | 5. The kvm_run structure |
| 706 | 714 | ||
