X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios.h;h=b80663ace4739c2d326a616cbfb65c7aeaab6027;hb=8361c0d1e416802f476ebd26e385a388747a4799;hp=9bee6c93f53c23b473389484785ff19b16e2a543;hpb=b86c7ad735b6ae4371b0ab202b19048b64ddd887;p=palacios.releases.git diff --git a/linux_module/palacios.h b/linux_module/palacios.h index 9bee6c9..b80663a 100644 --- a/linux_module/palacios.h +++ b/linux_module/palacios.h @@ -12,6 +12,10 @@ #define V3_FREE_GUEST 13 #define V3_ADD_MEMORY 50 +#define V3_RESET_MEMORY 51 + +#define V3_ADD_PCI_HW_DEV 55 +#define V3_ADD_PCI_USER_DEV 56 /* VM Specific IOCTLs */ #define V3_VM_CONSOLE_CONNECT 20 @@ -31,6 +35,9 @@ #define V3_VM_MOVE_CORE 33 +#define V3_VM_SEND 34 +#define V3_VM_RECEIVE 35 + #define V3_VM_FB_INPUT 257 #define V3_VM_FB_QUERY 258 @@ -66,6 +73,19 @@ struct v3_chkpt_info { } __attribute__((packed)); +struct v3_hw_pci_dev { + char name[128]; + unsigned int bus; + unsigned int dev; + unsigned int func; +} __attribute__((packed)); + +struct v3_user_pci_dev { + char name[128]; + unsigned short vendor_id; + unsigned short dev_id; +} __attribute__((packed)); + void * trace_malloc(size_t size, gfp_t flags); @@ -107,6 +127,7 @@ void palacios_print(const char *fmt, ...); void *palacios_allocate_pages(int num_pages, unsigned int alignment); void palacios_free_pages(void *page_addr, int num_pages); void *palacios_alloc(unsigned int size); +void *palacios_alloc_extended(unsigned int size, unsigned int flags); void palacios_free(void *); void *palacios_vaddr_to_paddr(void *vaddr); void *palacios_paddr_to_vaddr(void *paddr);