Displaying 8 results from an estimated 8 matches for "arch_vmx".
Did you mean:
arch_mxc
2005 Dec 15
0
[PATCH] check before relinquishing vlapic because VMX domain may crash very early
...d-off-by: Xin Li <xin.b.li@intel.com>
Also pls push to xen-3.0-testing.hg.
thanks
diff -r dc8122d90670 xen/arch/x86/vmx.c
--- a/xen/arch/x86/vmx.c Wed Dec 14 18:47:16 2005
+++ b/xen/arch/x86/vmx.c Thu Dec 15 16:18:14 2005
@@ -113,9 +113,10 @@
if ( active_ac_timer(&v->arch.arch_vmx.hlt_timer) ) {
rem_ac_timer(&v->arch.arch_vmx.hlt_timer);
}
- if ( vmx_apic_support(v->domain) ) {
- rem_ac_timer( &(VLAPIC(v)->vlapic_timer) );
- xfree( VLAPIC(v) );
+ if ( vmx_apic_support(v->domain) && (VLAPIC(v) != NULL) ) {
+...
2005 Nov 03
0
[PATCH] vmx-platform-vmread.patch
...@@
struct vcpu *v = current;
vcpu_iodata_t *vio;
ioreq_t *p;
- int vm86;
struct cpu_user_regs *regs;
extern long evtchn_send(int lport);
@@ -649,8 +643,6 @@
}
p = &vio->vp_ioreq;
-
- vm86 = regs->eflags & X86_EFLAGS_VM;
if (test_bit(ARCH_VMX_IO_WAIT, &v->arch.arch_vmx.flags)) {
printf("VMX I/O has not yet completed\n");
@@ -725,7 +717,6 @@
void handle_mmio(unsigned long va, unsigned long gpa)
{
- unsigned long eip, eflags, cs;
unsigned long inst_len, inst_addr;
struct mmio_op *mmio_opp;
s...
2005 Apr 02
1
[PATCH] VMX support for MMIO/PIO in VM8086 mode
...lue = regs->reg; break
/*
* Write to control registers
*/
-static void mov_to_cr(int gp, int cr, struct xen_regs *regs)
+static int mov_to_cr(int gp, int cr, struct xen_regs *regs)
{
unsigned long value;
unsigned long old_cr;
@@ -454,8 +477,21 @@
d->arch.arch_vmx.cpu_cr3, mfn);
/* undo the get_page done in the para virt case */
put_page_and_type(&frame_table[old_base_mfn]);
+ } else {
+ if ((value & X86_CR0_PE) == 0) {
+ unsigned long eip;
- }
+ __vmread(GUEST_EIP, &eip);
+...
2013 Jan 21
6
[PATCH v3 0/4] nested vmx: enable VMCS shadowing feature
Changes from v2 to v3:
- Use pfn_to_paddr() to get the address from frame number instead of doing shift directly.
- Remove some unnecessary initialization code and add "static" to vmentry_fields and gpdptr_fields.
- Enable the VMREAD/VMWRITE bitmap only if nested hvm is enabled.
- Use clear_page() to set all 0 to the page instead of memset().
- Use domheap to allocate the
2005 Sep 05
0
[PATCH][4/6] Add to virtual device operations
...>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
diff -r 287d36b46fa3 xen/arch/x86/vmx.c
--- a/xen/arch/x86/vmx.c Tue Aug 30 20:36:49 2005
+++ b/xen/arch/x86/vmx.c Fri Sep 2 22:46:13 2005
@@ -1752,6 +1803,81 @@
asm volatile("movq %0,%%cr2": :"r" (d->arch.arch_vmx.cpu_cr2));
#endif
}
+
+
+/* map hypercall parameter share page address in monitor pagetable
+ * map guest virtual address <--> hypervisor virtual address
+ * the hypervisor virtual address should below HYPERVISOR_VIRT_START,
+ * so that share page can be treated as a guest page
+ */
+int...
2005 Jun 30
0
[PATCH][2/10] Extend the VMX intercept mechanism to include mmio as well as portio.
...result = shadow_fault(va, regs);
@@ -451,10 +454,9 @@
p->port_mm = 0;
/* Check if the packet needs to be intercepted */
- if (vmx_io_intercept(p)) {
+ if (vmx_portio_intercept(p))
/* no blocking & no evtchn notification */
return;
- }
set_bit(ARCH_VMX_IO_WAIT, &d->arch.arch_vmx.flags);
p->state = STATE_IOREQ_READY;
diff -r febfcd0a1a0a -r 9a43d5c12b95 xen/include/asm-x86/vmx_intercept.h
--- a/xen/include/asm-x86/vmx_intercept.h Thu Jun 30 03:20:48 2005
+++ b/xen/include/asm-x86/vmx_intercept.h Thu Jun 30 04:08:50 2005
@@ -1,4 +1,3...
2012 Sep 14
0
[ PATCH v3 2/3] xen: enable Virtual-interrupt delivery
...+ offset = vector & 63;
+ changed = test_and_clear_bit(offset,
+ (uint64_t *)&v->arch.hvm_vmx.eoi_exit_bitmap[index]);
+ if (changed)
+ set_bit(index, &v->arch.hvm_vmx.eoi_exitmap_changed);
+}
+
int vmx_create_vmcs(struct vcpu *v)
{
struct arch_vmx_struct *arch_vmx = &v->arch.hvm_vmx;
diff -r 7c6844dd4a0d xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c Tue Sep 11 15:34:36 2012 +0800
+++ b/xen/arch/x86/hvm/vmx/vmx.c Fri Sep 14 09:16:35 2012 +0800
@@ -1502,6 +1502,22 @@ static void vmx_set_info_guest(struct vc
vmx_vmcs_e...
2011 Nov 17
29
[PATCH 00 of 17] Documentation updates
The following series flushes my documentation queue and replaces
previous postings of those patches.
The main difference is that the xl cfg file is now formatted using POD
instead of markdown and presented as a manpage.
I have setup a cron job to build docs/html and publish it at
http://xenbits.xen.org/docs/unstable/ (it''s a bit bare right now).
The motivation for some of these patches