diff options
author | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-06-10 16:37:17 +0000 |
---|---|---|
committer | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-06-10 16:37:17 +0000 |
commit | 0e882474757b9b690f649a51cc877606a0c0d339 (patch) | |
tree | 4e0a878f946b15e6c784daf67a2cea409a5dbb15 /sys/arch/amd64/include | |
parent | 4add07899013f58ba6374c717858fce3ce9ec283 (diff) |
Remove readpage and writepage ioctls.
They are not needed anymore now that guest memory is allocated
by and shared with the host.
ok mlarkin@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/vmmvar.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h index df246a86dfc..1ed1f4dafaf 100644 --- a/sys/arch/amd64/include/vmmvar.h +++ b/sys/arch/amd64/include/vmmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmmvar.h,v 1.14 2016/06/07 16:19:06 stefan Exp $ */ +/* $OpenBSD: vmmvar.h,v 1.15 2016/06/10 16:37:16 stefan Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -238,24 +238,6 @@ struct vm_terminate_params { uint32_t vtp_vm_id; }; -struct vm_writepage_params { - /* Input parameters to VMM_IOC_WRITEPAGE */ - uint32_t vwp_vm_id; /* VM ID */ - paddr_t vwp_paddr; /* Phys Addr */ - char *vwp_data; /* Page Data */ - uint32_t vwp_len; /* Length */ -}; - -struct vm_readpage_params { - /* Input parameters to VMM_IOC_READPAGE */ - uint32_t vrp_vm_id; /* VM ID */ - paddr_t vrp_paddr; /* Phys Addr */ - uint32_t vrp_len; /* Length */ - - /* Output parameters from VMM_IOC_READPAGE */ - char *vrp_data; /* Page Data */ -}; - struct vm_resetcpu_params { /* Input parameters to VMM_IOC_RESETCPU */ uint32_t vrp_vm_id; @@ -275,10 +257,8 @@ struct vm_intr_params { #define VMM_IOC_RUN _IOWR('V', 2, struct vm_run_params) /* Run VCPU */ #define VMM_IOC_INFO _IOWR('V', 3, struct vm_info_params) /* Get VM Info */ #define VMM_IOC_TERM _IOW('V', 4, struct vm_terminate_params) /* Terminate VM */ -#define VMM_IOC_WRITEPAGE _IOW('V', 5, struct vm_writepage_params) /* Wr Pg */ -#define VMM_IOC_READPAGE _IOW('V', 6, struct vm_readpage_params) /* Rd Pg */ -#define VMM_IOC_RESETCPU _IOW('V', 7, struct vm_resetcpu_params) /* Reset */ -#define VMM_IOC_INTR _IOW('V', 8, struct vm_intr_params) /* Intr pending */ +#define VMM_IOC_RESETCPU _IOW('V', 5, struct vm_resetcpu_params) /* Reset */ +#define VMM_IOC_INTR _IOW('V', 6, struct vm_intr_params) /* Intr pending */ #ifdef _KERNEL |