X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios.h;h=a172adbb2e734d458a6f1afdc5537df05d76f558;hb=0728ef23f3010448b89add8a796625008ce29b90;hp=0141e38acf5ea02bb7f2fd8de5f0b0c2bbe1ed25;hpb=ffd6d915b585a4a17a2d5b081313f0968885a105;p=palacios.releases.git diff --git a/linux_module/palacios.h b/linux_module/palacios.h index 0141e38..a172adb 100644 --- a/linux_module/palacios.h +++ b/linux_module/palacios.h @@ -12,6 +12,8 @@ #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 @@ -121,7 +123,8 @@ struct proc_dir_entry *palacios_get_procdir(void); // Selected exported stubs, for use in other palacios components, like vnet // The idea is that everything uses the same stubs -void palacios_print(const char *fmt, ...); +void palacios_print_scoped(void *vm, int vcore, const char *fmt, ...); +#define palacios_print(...) palacios_print_scoped(0,-1, __VA_ARGS__) 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);