diff options
| author | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-11-03 10:11:27 -0400 |
|---|---|---|
| committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-11-03 10:11:27 -0400 |
| commit | 8f987768eb99631374f4ab0bb19cd062baf1397d (patch) | |
| tree | b89aa5c207f7ba6a688f45657424b937f17ceb8a /include/linux/kvm.h | |
| parent | 63f7526f26f0a9291ac3f7a986aa18ebfb61ec19 (diff) | |
| parent | c8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4 (diff) | |
Merge commit 'v2.6.37-rc1' into for-2.6.37
Diffstat (limited to 'include/linux/kvm.h')
| -rw-r--r-- | include/linux/kvm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 636fc381c897..919ae53adc5c 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
| @@ -414,6 +414,14 @@ struct kvm_enable_cap { | |||
| 414 | __u8 pad[64]; | 414 | __u8 pad[64]; |
| 415 | }; | 415 | }; |
| 416 | 416 | ||
| 417 | /* for KVM_PPC_GET_PVINFO */ | ||
| 418 | struct kvm_ppc_pvinfo { | ||
| 419 | /* out */ | ||
| 420 | __u32 flags; | ||
| 421 | __u32 hcall[4]; | ||
| 422 | __u8 pad[108]; | ||
| 423 | }; | ||
| 424 | |||
| 417 | #define KVMIO 0xAE | 425 | #define KVMIO 0xAE |
| 418 | 426 | ||
| 419 | /* | 427 | /* |
| @@ -530,6 +538,8 @@ struct kvm_enable_cap { | |||
| 530 | #ifdef __KVM_HAVE_XCRS | 538 | #ifdef __KVM_HAVE_XCRS |
| 531 | #define KVM_CAP_XCRS 56 | 539 | #define KVM_CAP_XCRS 56 |
| 532 | #endif | 540 | #endif |
| 541 | #define KVM_CAP_PPC_GET_PVINFO 57 | ||
| 542 | #define KVM_CAP_PPC_IRQ_LEVEL 58 | ||
| 533 | 543 | ||
| 534 | #ifdef KVM_CAP_IRQ_ROUTING | 544 | #ifdef KVM_CAP_IRQ_ROUTING |
| 535 | 545 | ||
| @@ -664,6 +674,8 @@ struct kvm_clock_data { | |||
| 664 | /* Available with KVM_CAP_PIT_STATE2 */ | 674 | /* Available with KVM_CAP_PIT_STATE2 */ |
| 665 | #define KVM_GET_PIT2 _IOR(KVMIO, 0x9f, struct kvm_pit_state2) | 675 | #define KVM_GET_PIT2 _IOR(KVMIO, 0x9f, struct kvm_pit_state2) |
| 666 | #define KVM_SET_PIT2 _IOW(KVMIO, 0xa0, struct kvm_pit_state2) | 676 | #define KVM_SET_PIT2 _IOW(KVMIO, 0xa0, struct kvm_pit_state2) |
| 677 | /* Available with KVM_CAP_PPC_GET_PVINFO */ | ||
| 678 | #define KVM_PPC_GET_PVINFO _IOW(KVMIO, 0xa1, struct kvm_ppc_pvinfo) | ||
| 667 | 679 | ||
| 668 | /* | 680 | /* |
| 669 | * ioctls for vcpu fds | 681 | * ioctls for vcpu fds |
