search for: define_xen_guest_handl

Displaying 20 results from an estimated 40 matches for "define_xen_guest_handl".

2006 Dec 01
0
[PATCH 3/10] Add support for netfront/netback acceleration drivers
...idref; + xen_domain_handle_t handle; + /* Is this an HVM guest (as opposed to a PV guest)? */ +#define _XEN_DOMCTL_CDF_hvm_guest 0 +#define XEN_DOMCTL_CDF_hvm_guest (1U<<_XEN_DOMCTL_CDF_hvm_guest) + uint32_t flags; +}; +typedef struct xen_domctl_createdomain xen_domctl_createdomain_t; +DEFINE_XEN_GUEST_HANDLE(xen_domctl_createdomain_t); + +#define XEN_DOMCTL_destroydomain 2 +#define XEN_DOMCTL_pausedomain 3 +#define XEN_DOMCTL_unpausedomain 4 + +#define XEN_DOMCTL_getdomaininfo 5 +struct xen_domctl_getdomaininfo { + /* OUT variables. */ + domid_t domain; /* Als...
2008 Sep 19
8
[PATCH] x86: add hypercall to query current underlying pCPU''s frequency
..._64/platform_hypercall.c =================================================================== --- 2008-09-19.orig/xen/arch/x86/x86_64/platform_hypercall.c 2008-09-19 14:12:02.000000000 +0200 +++ 2008-09-19/xen/arch/x86/x86_64/platform_hypercall.c 2008-09-19 13:59:35.000000000 +0200 @@ -21,6 +21,8 @@ DEFINE_XEN_GUEST_HANDLE(compat_platform_ #define xen_processor_power_t compat_processor_power_t #define set_cx_pminfo compat_set_cx_pminfo +#define xenpf_get_cpu_freq compat_pf_get_cpu_freq + #define xenpf_enter_acpi_sleep compat_pf_enter_acpi_sleep #define COMPAT Index: 2008-09-19/xen/include/pu...
2006 Sep 29
4
[PATCH 4/6] xen: export NUMA topology in physinfo hcall
...if ( copy_to_guest(u_sysctl, sysctl, 1) ) ret = -EFAULT; } diff -r 6f3c6fb05af3 xen/include/public/arch-x86_32.h --- a/xen/include/public/arch-x86_32.h Mon Sep 11 13:45:23 2006 -0500 +++ b/xen/include/public/arch-x86_32.h Mon Sep 11 13:45:23 2006 -0500 @@ -48,6 +48,7 @@ __DEFINE_XEN_GUEST_HANDLE(uchar, unsigne __DEFINE_XEN_GUEST_HANDLE(uchar, unsigned char); __DEFINE_XEN_GUEST_HANDLE(uint, unsigned int); __DEFINE_XEN_GUEST_HANDLE(ulong, unsigned long); +__DEFINE_XEN_GUEST_HANDLE(u64, uint64_t); DEFINE_XEN_GUEST_HANDLE(char); DEFINE_XEN_GUEST_HANDLE(int); DEFINE_XEN_GUEST_HANDLE(lon...
2013 Oct 16
4
[PATCH 1/7] xen: vNUMA support for PV guests
..."xen.h" #include "grant_table.h" #include "hvm/save.h" +#include "memory.h" #define XEN_DOMCTL_INTERFACE_VERSION 0x00000009 @@ -863,6 +864,17 @@ struct xen_domctl_set_max_evtchn { typedef struct xen_domctl_set_max_evtchn xen_domctl_set_max_evtchn_t; DEFINE_XEN_GUEST_HANDLE(xen_domctl_set_max_evtchn_t); +struct xen_domctl_vnuma { + uint16_t nr_vnodes; + XEN_GUEST_HANDLE_64(uint) vdistance; + XEN_GUEST_HANDLE_64(uint) vcpu_to_vnode; + XEN_GUEST_HANDLE_64(uint) vnode_to_pnode; + XEN_GUEST_HANDLE_64(vnuma_memblk_t) vnuma_memblks; +}; + +typedef struct x...
2013 Jun 15
1
Bug#712376: xen FTBFS with current gcc-4.8
...change_t' locally defined but not used [-Werror=unused-local-typedefs] typedef struct { type *p; } __guest_handle_ ## name ^ /tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/public/arch-x86/xen.h:43:5: note: in expansion of macro '___DEFINE_XEN_GUEST_HANDLE' ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type) ^ /tmp/xen-4.2.1/debian/build/build-hypervisor_amd64_amd64/xen/include/public/arch-x86/xen.h:44:41: note: in expansion of macro '__DEFINE_XEN_GUEST_HANDLE' #define DEFINE_XEN_GUEST_HANDLE(name) __DEFINE_XEN_GUEST_HANDLE...
2007 Dec 19
23
3.1.x and 3.2.x releases
Folks, A new release candidate for 3.2.0 has just been checked into the xen-unstable tree. It''s available from staging and will be in the main tree when it has passed internal regression tests. Meanwhile, in preparation for 3.1.3, please let me know if there are any further patches from xen-unstable that should be backported into the 3.1 branch. You can pull the xen-3.1-testing.hg
2007 Jan 11
6
[PATCH 4/8] HVM save restore: vcpu context support
...void hvm_migrate_timers(struct vcpu *v); void hvm_do_resume(struct vcpu *v); diff -r ee20d1905bde xen/include/public/arch-x86/xen.h --- a/xen/include/public/arch-x86/xen.h Thu Jan 11 16:40:55 2007 +0800 +++ b/xen/include/public/arch-x86/xen.h Thu Jan 11 16:51:03 2007 +0800 @@ -107,6 +107,70 @@ DEFINE_XEN_GUEST_HANDLE(trap_info_t); DEFINE_XEN_GUEST_HANDLE(trap_info_t); typedef uint64_t tsc_timestamp_t; /* RDTSC timestamp */ + +/* + * World vmcs state + */ +struct vmcs_data { + uint64_t eip; /* execution pointer */ + uint64_t esp; /* stack pointer */ + uint64_t eflags; /* flags...
2008 May 24
2
Use of XEN_GUEST_HANDLE
Hi all, I have recently started to go through xen source. I want to know the usage of XEN_GUEST_HANDLE. I see thats its just a macro which will prefix each data type with __guest_handle_ . And DEFINE_XEN_GUEST_HANDLE(name) will just typedefs ''__guest_handle_name'' to be a pointer to a data type ''name '' . What is the reason for such abstraction? And how this XEN_GUEST_HANDLE different from ''guest_xc'' field of ''struct xc_dom_image'', which...
2008 Jul 24
2
[RFC] i386 highmem assist hypercalls
...NR_CPUS-1, Index: 2008-07-21/xen/include/public/xen.h =================================================================== --- 2008-07-21.orig/xen/include/public/xen.h 2008-06-17 13:59:52.000000000 +0200 +++ 2008-07-21/xen/include/public/xen.h 2008-07-21 08:36:26.000000000 +0200 @@ -231,6 +231,13 @@ DEFINE_XEN_GUEST_HANDLE(xen_pfn_t); * cmd: MMUEXT_SET_LDT * linear_addr: Linear address of LDT base (NB. must be page-aligned). * nr_ents: Number of entries in LDT. + * + * cmd: MMUEXT_CLEAR_PAGE + * mfn: Machine frame number to be cleared. + * + * cmd: MMUEXT_COPY_PAGE + * mfn: Machine frame number of the destinat...
2016 Mar 17
4
Bug#818525: xen: FTBFS: error: unterminated comment
Package: xen Version: 4.6.0-1+nmu2 Severity: serious This package fails to build in unstable: > sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux ... > mkdir -p compat > grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/grant_table.h | \ > python /<<PKGBUILDDIR>>/debian/build/build-hypervisor_amd64_amd64/xen/tools/compat-build-source.py >compat/grant_table.c.new > mv -f compat/grant_table.c.new compat/grant_table.c > gcc -E -O2 -fomit-frame-pointer -m64 -fno-strict-aliasi...
2007 Aug 30
0
[PATCH][Retry 1] 1/4: cpufreq/PowerNow! in Xen: Xen timer changes
...0ff19b7 xen/include/public/platform.h --- a/xen/include/public/platform.h Thu Aug 16 13:27:59 2007 +0100 +++ b/xen/include/public/platform.h Thu Aug 30 12:08:29 2007 -0500 @@ -164,6 +164,17 @@ typedef struct xenpf_enter_acpi_sleep xe typedef struct xenpf_enter_acpi_sleep xenpf_enter_acpi_sleep_t; DEFINE_XEN_GUEST_HANDLE(xenpf_enter_acpi_sleep_t); +#define XENPF_change_freq 52 +struct xenpf_change_freq { + /* IN variables */ + struct vcpu_time_info *info; /* vcpu time info for changing vcpu */ + uint32_t old; /* original frequency */ + uint32_t new; /* new frequency */ + uint32_t cpu_num;...
2012 Sep 11
4
[PATCH] x86: retrieve keyboard shift status flags from BIOS
...@@ -41,4 +41,6 @@ int xen_in_range(unsigned long mfn); void microcode_grab_module( unsigned long *, const multiboot_info_t *, void *(*)(const module_t *)); +extern uint8_t kbd_shift_flags; + #endif --- a/xen/include/public/platform.h +++ b/xen/include/public/platform.h @@ -218,6 +218,7 @@ DEFINE_XEN_GUEST_HANDLE(xenpf_efi_runtim #define XEN_FW_EFI_VENDOR 2 #define XEN_FW_EFI_MEM_INFO 3 #define XEN_FW_EFI_RT_VERSION 4 +#define XEN_FW_KBD_SHIFT_FLAGS 5 struct xenpf_firmware_info { /* IN variables. */ uint32_t type; @@ -266,6 +267,9 @@ struct xenpf_firmware_info {...
2013 Dec 03
7
[PATCH] xen: arm: Fixing ttbcr (TCR_EL1 for AArch64) size.
This patch fixes size of ttbcr register (TCR_EL1 in case of AArch64) and it''s programming considering size in case of context switch. Currently ttbcr is defined as 32b register but for AArch64 TCR_EL1 size is 64b. Signed-off-by: Anup Patel <anup.patel@linaro.org> Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org> --- xen/arch/arm/domain.c | 8
2007 Dec 10
0
[PATCH] Fix domctl GCC dependency
...tl GCC dependency Compilers other than GCC don''t allow zero-sized structs. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/xen/include/public/domctl.h b/xen/include/public/domctl.h --- a/xen/include/public/domctl.h +++ b/xen/include/public/domctl.h @@ -562,8 +562,10 @@ DEFINE_XEN_GUEST_HANDLE(xen_domctl_ext_v */ #define XEN_DOMCTL_set_opt_feature 44 struct xen_domctl_set_opt_feature { -#ifdef __ia64__ +#if defined(__ia64__) struct xen_ia64_opt_feature optf; +#elif !defined(__GNUC__) + uint64_t dummy; #endif }; typedef struct xen_domctl_set_opt_feature xen_domctl_set_o...
2016 Mar 17
0
Bug#818525: Bug#818525: xen: FTBFS: error: unterminated comment
...tin Michlmayr <tbm at hpe.com> wrote: > Package: xen > Version: 4.6.0-1+nmu2 > Severity: serious > > This package fails to build in unstable: > >> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux > ... >> mkdir -p compat >> grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/grant_table.h | \ >> python /<<PKGBUILDDIR>>/debian/build/build-hypervisor_amd64_amd64/xen/tools/compat-build-source.py >compat/grant_table.c.new >> mv -f compat/grant_table.c.new compat/grant_table.c >> gcc -E -O2 -fomit-frame-pointer -m64 -fno-s...
2007 Oct 23
6
[PATCH][cpufreq] Xen support for the ondemand governor [1/2] (hypervisor code)
Modify the cpufreq ondemand governor so that it can get idle and total ticks from the Xen hypervisor. Linux and Xen have different ideas of what an idle tick is, so the Xen values for both have to be returned in the same platform hypercall. Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com> diff -r b4278beaf354 xen/arch/x86/platform_hypercall.c --- a/xen/arch/x86/platform_hypercall.c
2008 Oct 17
6
[PATCH, RFC] i386: highmem access assistance hypercalls
...NR_CPUS-1, Index: 2008-09-19/xen/include/public/xen.h =================================================================== --- 2008-09-19.orig/xen/include/public/xen.h 2008-09-15 11:25:43.000000000 +0200 +++ 2008-09-19/xen/include/public/xen.h 2008-09-19 14:00:01.000000000 +0200 @@ -231,6 +231,13 @@ DEFINE_XEN_GUEST_HANDLE(xen_pfn_t); * cmd: MMUEXT_SET_LDT * linear_addr: Linear address of LDT base (NB. must be page-aligned). * nr_ents: Number of entries in LDT. + * + * cmd: MMUEXT_CLEAR_PAGE + * mfn: Machine frame number to be cleared. + * + * cmd: MMUEXT_COPY_PAGE + * mfn: Machine frame number of the destinat...
2006 Dec 01
1
[PATCH 2/10] Add support for netfront/netback acceleration drivers
..._NOACCESS 0 +#define IOMEM_ACCESS_READWRITE 1 +#define IOMEM_ACCESS_READONLY 2 + uint8_t rw; /* read/write permissions to allow. + Only relevant if allow_access != 0 */ }; typedef struct xen_domctl_iomem_permission xen_domctl_iomem_permission_t; DEFINE_XEN_GUEST_HANDLE(xen_domctl_iomem_permission_t); diff -r b58bcd6551e2 xen/arch/ia64/xen/dom0_ops.c --- a/xen/arch/ia64/xen/dom0_ops.c Fri Dec 01 16:21:46 2006 +0000 +++ b/xen/arch/ia64/xen/dom0_ops.c Fri Dec 01 16:22:41 2006 +0000 @@ -296,11 +296,18 @@ dom0vp_ioremap(struct domain *d, unsigne end = PAGE_ALI...
2012 Aug 10
18
[PATCH v2 0/5] ARM hypercall ABI: 64 bit ready
Hi all, this patch series makes the necessary changes to make sure that the current ARM hypercall ABI can be used as-is on 64 bit ARM platforms: - it defines xen_ulong_t as uint64_t on ARM; - it introduces a new macro to handle guest pointers, called XEN_GUEST_HANDLE_PARAM (that has size 4 bytes on aarch and is going to have size 8 bytes on aarch64); - it replaces all the occurrences of
2010 Feb 26
0
[Xen-devel] Crash during boot in Debian lenny default dom0 kernel (2.6.26-2-xen-686) / bugfix patch
...pirq; /* IN */ - struct { - int bus, devfn, entry_nr; - int msi; /* 0 - MSIX 1 - MSI */ - } msi_info; + int bus; + /* IN */ + int devfn; + /* IN */ + int entry_nr; + /* IN */ + uint64_t table_base; }; typedef struct physdev_map_pirq physdev_map_pirq_t; DEFINE_XEN_GUEST_HANDLE(physdev_map_pirq_t); _______________________________________________ Xen-devel mailing list Xen-devel at lists.xensource.com http://lists.xensource.com/xen-devel ----- End forwarded message -----