Andre Przywara
2010-Sep-21 13:26 UTC
[Xen-devel] [PATCH 1/4] xl: implement parsing of cpuid parameter and translate to Xen interface
Parses a string enumerating cpuid flags and their behavior. The syntax is: cpuid = "host,<flagname>=[01xks],..." Supports: 0: clear this flag 1: set this flag x: don''t care, use the default handling k: use the host value s: as k, but keep stable across migrations Instead of the bits there can also be numbers passed (hex or dec), like: family=0x10,model=4 Signed-off-by: Andre Przywara <andre.przywara@amd.com> -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 448-3567-12 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Sep-21 15:34 UTC
[Xen-devel] Re: [PATCH 1/4] xl: implement parsing of cpuid parameter and translate to Xen interface
Andre Przywara writes ("[PATCH 1/4] xl: implement parsing of cpuid parameter and translate to Xen interface"):> Parses a string enumerating cpuid flags and their behavior. > The syntax is: cpuid = "host,<flagname>=[01xks],..." > Supports: > 0: clear this flag > 1: set this flag > x: don''t care, use the default handling > k: use the host value > s: as k, but keep stable across migrations > > Instead of the bits there can also be numbers passed (hex or dec), > like: family=0x10,model=4 > > Signed-off-by: Andre Przywara <andre.przywara@amd.com>Thanks. Unfortunately: /usr/include/sys/ucontext.h:183:1: error: this is the location of the previous definition libxl.c:3237:1: error: "REG_EBX" redefined This is unfortunate namespace pollution from the libc but I think we should work around it by putting a LIBXL prefix on the names. Sorry, Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel