From: "Michael R. Hines" <mhines@cs.binghamton.edu>
To: xen-devel@lists.xensource.com
Subject: update_va_mapping_otherdomain
Date: Fri, 07 Sep 2007 21:29:23 -0400 [thread overview]
Message-ID: <46E1FAF3.5030105@cs.binghamton.edu> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1045 bytes --]
Greetings,
I have a technical question about update_va_mapping_otherdomain.......
I have two components: a C program linked against libxc
and a kernel module which performs the following simple
sequence of events from domain zero:
1. Pause guest (unprivileged)
2. Grabs the PTE associated with a random (but present) page
within the guest's kernel's address space
(using a modified xc_translate_foreign_address)
3. Flips the present bit to zero
4. Calls HYPERVISOR_update_va_mapping otherdomain (from the kernel module)
5. Re-performs xc_translate_foreign_address on the same PTE
6. Verifies the the present bit was indeed changed to zero
Upon successful return from update_va_mapping (i.e. return code == zero),
my problem involves the last step mentioned above. The present bit still
remains unchanged (is still one), although update_va_mapping return true.
What might cause such a strange problem to occur?
--
/*
Michael R. Hines
http://www.cs.binghamton.edu/~mhines/
Live long and prosper...
*/
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2007-09-08 1:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-08 1:29 Michael R. Hines [this message]
2007-09-08 9:00 ` update_va_mapping_otherdomain Keir Fraser
2007-09-08 15:17 ` update_va_mapping_otherdomain Michael R. Hines
2007-09-08 18:27 ` update_va_mapping_otherdomain Michael R. Hines
2007-09-09 8:17 ` update_va_mapping_otherdomain Keir Fraser
2007-09-09 18:24 ` update_va_mapping_otherdomain Michael R. Hines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46E1FAF3.5030105@cs.binghamton.edu \
--to=mhines@cs.binghamton.edu \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.