summaryrefslogtreecommitdiff
path: root/kvm_x86host.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-08-02 18:13:38 +0000
committerRobert Mustacchi <rm@joyent.com>2011-08-02 18:13:38 +0000
commit57b2f1208e13b427eea4fc35b01787135ad72625 (patch)
treeeb9b5a94091e985d98ecc0ae7b2bf39f1bb0ea42 /kvm_x86host.h
parent18f7c4f572ba3fd186e15ae3b5afd73d6e4c8f10 (diff)
downloadillumos-kvm-57b2f1208e13b427eea4fc35b01787135ad72625.tar.gz
HVM-545 Various XXX cleanup
Diffstat (limited to 'kvm_x86host.h')
-rw-r--r--kvm_x86host.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/kvm_x86host.h b/kvm_x86host.h
index 29ea52e..db9fac7 100644
--- a/kvm_x86host.h
+++ b/kvm_x86host.h
@@ -24,7 +24,7 @@
#define KVM_MAX_VCPUS 64
#define KVM_MEMORY_SLOTS 32
/* memory slots that are not exposted to userspace */
-#define KVM_PRIVATE_MEM_SLOTS 4 /* XXX assumes x86 */
+#define KVM_PRIVATE_MEM_SLOTS 4 /* x86 specific */
#define KVM_PIO_PAGE_OFFSET 1
#define KVM_COALESCED_MMIO_PAGE_OFFSET 2
@@ -784,7 +784,6 @@ extern struct kvm_memory_slot *gfn_to_memslot_unaliased(struct kvm *, gfn_t);
extern struct kvm_mmu_page *page_header(struct kvm *, hpa_t);
-/* XXX Fold into kvm_subr.c */
extern unsigned short kvm_read_fs(void);
extern unsigned short kvm_read_gs(void);
extern unsigned short kvm_read_ldt(void);
@@ -854,8 +853,6 @@ enum {
_ASM_PTR " 666b, 667b \n\t" \
".popsection \n\t"
-#define KVM_ARCH_WANT_MMU_NOTIFIER
-
int kvm_unmap_hva(struct kvm *kvm, unsigned long hva);
int kvm_age_hva(struct kvm *kvm, unsigned long hva);
void kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte);
@@ -868,8 +865,6 @@ void kvm_define_shared_msr(unsigned index, uint32_t msr);
void kvm_set_shared_msr(struct kvm_vcpu *, unsigned index, uint64_t val,
uint64_t mask);
-/* XXX Readdress after kvm/kvm_x86.c refactor */
-extern int kvm_vm_ioctl_create_vcpu(struct kvm *kvm, uint32_t id, int *rv);
#define NMI_VECTOR 0x02
#endif