[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RESUBMIT] [PATCH] xen, tools: pincpu use vcpu and cpumap_t
Ryan Harper wrote: * Mike Wray <mike.wray@xxxxxx> [2005-05-03 12:01]:Ryan Harper wrote:Here is an update to the previous pincpu patches. This patch updates the pincpu dom0op to use a cpumap_t pointer, rather than specifying a size in the interface. cpumap_t is current typedef'ed to an unsigned long. xm list -v now truncates the cpumap field to only show the bits of the map that are relevant. That is, if you have four VCPUS, you willonly see the first four bits of the cpumap.This patch compiles against current unstable tree, but I could not test it as the current unstable tree crashes dom0 when booting domU. I back ported the patch to 20050420 snapshot and it worked there.This patch causes the dom0 crash I reported on the current unstable (attached) so it needs fixing before applying.I was not able to recreate dom0 crash with the previous patch against current nightly snapshot (20050503). None-the-less addressing some ofyour feedback.Attached is an updated patch. o bumped cpumap_t up to u64, per Ian and Keir o Fixed deref of user-space pointer without copy_from_user(), Mike Wray o Added put_domain() in ed > MAX_VIRT_CPUS error path, Mike Wray OK, I'll give it another whirl. Mike _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |