some fixes to VMX:

1) enable ACPI in VMXAssist by default.
2) do nothing when emulating wbinvd instruction in VMXAssist.
3) use MACRO in cpu number setting/getting code.
4) remove useless parameter flags from xc_vmx_build.
5) remove usage of dsi.v_start in xc_vmx_build when not handling
vmxloader elf.
6) unmap shared_page_va when destroy VMX domain.
7) change virtual_platform_def to vmx_platform.
8) remove useless code in vmx_setup_platform.
9) change parameter of vmx_setup_platform from vcpu to domain.
10) in xen HV, vmx domain get domain processor number from the reserved
E820 area.
11) in domain.c, don't define some functions when on i386 platform or no
CONFIG_VMX.
Also removed some ugly tailing space.

Signed-off-by: Xin Li <xin.b.li@intel.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-10-23 11:51:15 +01:00
1 parent bacb111591
commit 74df472110
15 files changed
+187 -158

No files matched your search

+6 -6
View File
@@ -429,15 +429,15 @@ static PyObject *pyxc_linux_build(PyObject *self,
}
static PyObject *pyxc_vmx_build(PyObject *self,
PyObject *args,
PyObject *kwds)
PyObject *args,
PyObject *kwds)
{
XcObject *xc = (XcObject *)self;
uint32_t dom;
uint32_t dom;
char *image;
int control_evtchn, store_evtchn;
int flags = 0, vcpus = 1;
int control_evtchn, store_evtchn;
int vcpus = 1;
int memsize;
unsigned long store_mfn = 0;
@@ -450,7 +450,7 @@ static PyObject *pyxc_vmx_build(PyObject *self,
return NULL;
if ( xc_vmx_build(xc->xc_handle, dom, memsize, image, control_evtchn,
flags, vcpus, store_evtchn, &store_mfn) != 0 )
vcpus, store_evtchn, &store_mfn) != 0 )
return PyErr_SetFromErrno(xc_error);
return Py_BuildValue("{s:i}", "store_mfn", store_mfn);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.