Changeset View
Changeset View
Standalone View
Standalone View
lib/libvmmapi/vmmapi.h
Context not available. | |||||
#define VMMAPI_VERSION 0102 /* 2 digit major followed by 2 digit minor */ | #define VMMAPI_VERSION 0102 /* 2 digit major followed by 2 digit minor */ | ||||
grehan: Need to bump the minor number since there 2 new api calls. | |||||
struct iovec; | struct iovec; | ||||
struct vmctx; | |||||
enum x2apic_state; | enum x2apic_state; | ||||
struct vmctx { | |||||
int fd; | |||||
uint32_t lowmem_limit; | |||||
int memflags; | |||||
size_t lowmem; | |||||
size_t highmem; | |||||
char *baseaddr; | |||||
char *name; | |||||
}; | |||||
lattera-gmail.comUnsubmitted Not Done Inline ActionsWhile here, could you fix the style(9) violation? All the member names should align. lattera-gmail.com: While here, could you fix the style(9) violation? All the member names should align. | |||||
/* | /* | ||||
* Different styles of mapping the memory assigned to a VM into the address | * Different styles of mapping the memory assigned to a VM into the address | ||||
* space of the controlling process. | * space of the controlling process. | ||||
Context not available. | |||||
Not Done Inline Actionsu_long can be changed to cap_ioctl_t here. This file already requires <sys/types.h>, which unconditionally defines that type (the man page for cap_ioctls_limit needs to be updated). grehan: u_long can be changed to cap_ioctl_t here. This file already requires <sys/types.h>, which… |
Need to bump the minor number since there 2 new api calls.