X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios.h;h=b80663ace4739c2d326a616cbfb65c7aeaab6027;hb=90171715341d6bf626528feb695f1c680a91335f;hp=fd5a188975bba7d73a338ce3dd529b0b57f3835e;hpb=4b9f54d875c87a0b06337fb64239278d6cfc02fa;p=palacios.releases.git diff --git a/linux_module/palacios.h b/linux_module/palacios.h index fd5a188..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 @@ -69,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);