Displaying 20 results from an estimated 200 matches similar to: "FW: [PATCH][UPDATE]Remove lock on guest table walk"
2008 Feb 21
2
[PATCH][RFC]Remove lock on first guest table walk
Just found this patch in house which I thought sent out
already. :-)
Still one thing remaining is to special case for UP guest
which suffers overhead from this change...
----
Remove lock on first guest table walk
Existing shadow fault path grabs big lock before walking
guest tables, to ensure consistency with shadow content
lest concurrent change from other vcpu in a bad OS.
But this lock
2007 Jul 02
3
Walking an HVM''s shadow page tables and other memory management questions.
Hello,
I''m new to Xen and especially to the hypervisor code. I''m working off a
3.0.4.1 base and have the following questions regarding the memory
management code for an x86, 32-bit platform (capable of supporting PAE).
I''m doing some research into providing grant table hypercall support
from a Windows 2003 HVM. I have made all the necessary changes to allow
the
2008 Jun 06
4
Query regarding x86_emulate_memop() function
Hi there,
I have a question regarding the functionality of x86_emulate_memop (Xen 3.1) or x86_emulate (Xen 3.2) function. This function gets called from sh_page_fault() function which is invoked when Xen receives a page fault.
Since I am not clear completely about the emulation operation performed by Xen, I have following questions with a below mentioned scenario?
1) Suppose I have a memory
2008 Jun 24
3
Question related to Single-step execution and Emulation
Hi all,
I am trying to perform single-stepping and instruction emulation both in Xen-3.2.1. I am using the following approach:
First, I mark a guest page "not present" inside the shadow page table so that I could intercept any operation that involves this page. When the guest tries to access that page, it faults and control goes to Xen (sh_page_fault function). There, I emulate that
2007 May 04
0
[PATCH] 3/4 "nemesis" scheduling domains for Xen
Implements tool interfaces for scheduling domains. libxenctrl, xm, and xend.
signed-off-by: Mike D. Day <ncmike@us.ibm.com>
--
libxc/xc_domain.c | 85 +++++++++++++++++++++++++++++++++---
libxc/xenctrl.h | 43 ++++++++++++++++--
python/xen/xend/XendDomain.py | 78 +++++++++++++++++++++++++++++++++
python/xen/xend/server/SrvDomain.py |
2009 Jul 02
4
shadow OOS and fast path are incompatible
We recently observed a problem with Solaris HVM domains. The bug was
seen was seen with a higher number of VCPUs (3 or more), and always had
the same pattern: some memory was allocated in the guest, but the first
reference caused it to crash with a fatal pagefault. However, on
inspection of the page tables, the guests'' view of the pagetables was
consistent: the page was present.
2007 Jun 28
5
One question on MMIO
In sh_page_fault(), there are some code like following, why we think it
is mmio only when paging_vcpu_mode_translate(v)?
Thanks
Yunhong Jiang
/* What mfn is the guest trying to access? */
gfn = guest_l1e_get_gfn(gw.eff_l1e);
gmfn = vcpu_gfn_to_mfn(v, gfn);
mmio = (is_hvm_domain(d)
&& paging_vcpu_mode_translate(v)
&&
2008 Feb 19
2
[PATCH] Minor fix to the fast emulation patch.
Hello,
The fast emulation path patch introduced a bug when we have an event
injection during a write to a pagetable: after removing shadows we
still jump to the done label, releasing the lock even if we aren''t
grabbing it.
Inline patch fixes this.
Signed-off-by: Gianluca Guida <gianluca.guida@eu.citrix.com>
diff -r 8848d9e07584 xen/arch/x86/mm/shadow/multi.c
---
2009 Aug 26
6
can dom0 modify Shadow PT of HVM domU?
Hi all,
Can Xen hypervisor modify HVM domU's Shadow page table, under the dom0's context, like trapped from dom0's hypercall?
I think it have to call 2 functions at least: guest_walk_tables() and flush_tlb_all(). Can these 2 functions called in dom0's context?
In my test, if hypervisor tries to modify HVM's shadow page table, it will bring down the whole system. I am not
2012 Jul 19
1
About log dirty mode during migration
Hi All,
I have several questions about log dirty mode during live migration.
For my understanding, each time after XEN_DOMCTL_SHADOW_OP_CLEAN or XEN_DOMCTL_SHADOW_OP_PEEK operation, all the pages are set as read only. The following memory accesses to the memory pages will cause page fault (permission conflict) then using page_mark_dirty function to set the dirty bitmap.
However, after I read
2008 Sep 11
5
[PATCH] Fix arguments passed to SHADOW_PRINTK
Hi.
When I compiled xen-3.3-testing with DEBUG_TRACE_DUMP in xen/include/xen/lib.h
turned on, I got some errors at SHADOW_PRINTK.
The following patch will fix the arguments passed to SHADOW_PRINTK in
xen/arch/x86/mm/shadow/common.c and xen/arch/x86/mm/shadow/multi.c.
Although I haven''t tested, it is the same for xen-unstable.hg
Thanks,
Yoshi
Signed-off-by: Yoshi Tamura
2012 Oct 01
5
How to get the checkpoint size in remus code?
Hi,
I''m doing my master research and I need to adapt remus code. Now... I wanna
get the checkpoint size (memory + disk) on each period. Does someone know
what function does this? I think some *fd *object''s function in remus code
could just get the memory size.
Does someone help me?
Thanks
_______________________________________________
Xen-devel mailing list
2012 Dec 12
2
[PATCH v7 1/2] xen: unify domain locking in domctl code
These two patches were originally part of the XSM series that I have
posted, and remain prerequisites for that series. However, they are
independent of the XSM changes and are a useful simplification
regardless of the use of XSM.
The Acked-bys on these patches were provided before rebasing them over
the copyback changes in 26268:1b72138bddda, which had minor conflicts
that I resolved.
[PATCH
2005 May 22
1
Change HTB "final qdisc" of the default walk-throught class
Hello everybody!
With a HTB qdisc:
# tc qdisc add dev eth0 root handle 99: htb
How can I change the "final qdisc" of the default walk-throught class?
# tc qdisc add dev eth0 parent 99:0 handle 88: sfq
results in: "RTNETLINK answers: Invalid argument"
CBQ automatically creates a xx:0 root class where I can attach final
qdiscs... - If there is a root class in htb, how is it
2010 May 10
1
Random walk
Hi everybody,
I am trying to generate two random walks with an specific correlation,
for example, two random walks of 200 time steps with a correlation 0.7.
I built the random walks with:
x<-cumsum(rnorm(200, mean=0,sd=1))
y<-cumsum(rnorm(200, mean=0,sd=1))
but I don't know how to fix the correlation between them.
With white noise is easy to fix the correlation using the function
2007 Oct 24
2
random walk w/ reflecting boundary: avoid control construct?
Dear expeRts,
recently I asked for a nice way to re-program a problem
without using control constructs such as "for" or
"sapply(1:length(x), ...". Is there a way to program
a random walk with a reflecting boundary without resorting
to such constructs? A working solution is
ranwalk <- function(length, bound) {
k <- cumsum(sample(c(-1, 1), length, replace=TRUE))
2011 Nov 11
1
Random-walk Metropolis-Hasting
Following is my code, can some one help on the error at the bottom?
> mh<-function(iterations,alpha,beta){
+ data<-read.table("epidemic.txt",header = TRUE)
+ attach(data, warn.conflicts = F)
+ k<-97
+ d <- (sqrt((x-x[k])^2 + (y-y[k])^2))
+ p <- 1-exp(-alpha*d^(-beta))
+ p.alpha<-1 - exp(-3*d^(-beta))
+ p.beta <- 1 - exp(alpha*d^(-2))
+
2011 Mar 14
1
[PATCH] New APIs: guestfs_first_private, guestfs_next_private to walk over the private data area.
This patch adds useful APIs for walking over the private data area.
It is a prerequisite for the new event API stuff (specifically for the
language bindings for that).
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
2004 Jun 10
0
Would like to ask a * user some question over voice or a walk thru in the Hou,TX area
I would like to either talk to over the phone a * admin a few question on
the deploy and a few question on the setup of * at the very least if some
doesn't mind or a walk thru of there site if there in the Houston area.
I am looking at cutting over to * for some things but I have some setup
question that could easily be answer in about 30-60 minutes.
Please reply to lists efastfunding com
2020 Feb 07
0
[RFC PATCH v7 35/78] KVM: x86: disable gpa_available optimization for fetch and page-walk NPF/EPT violations
From: Mircea C?rjaliu <mcirjaliu at bitdefender.com>
This change is needed because the introspection tool can write-protect
guest page tables, exec-protect heap/stack pages and let KVM emulate
the instruction that caused these violations.
Signed-off-by: Mircea C?rjaliu <mcirjaliu at bitdefender.com>
Signed-off-by: Adalbert Laz?r <alazar at bitdefender.com>
---