From: Keir Fraser Subject: Re: perl hypervisor interface Date: Fri, 09 Jul 2004 17:05:48 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: Return-path: In-Reply-To: Your message of "Fri, 09 Jul 2004 17:02:34 BST." Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Mark Williamson Cc: David Becker , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > You need to mlock anything that Xen is going to access, otherwise XenLinux > might swap it out (if you're unlucky), in which case things will break when > Xen itself tries to access it. I'm guessing this would result in the domain > being killed by Xen. The dom0_op should simply fail. However, I wasn't so careful to use copy_from_user() on all privileged code paths, as we trust DOM0. If you hit one of those, the machine would be toast. -- Keir ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com