Ewan Mellor
6bd6a1390e
Fix missing bits of the docs from cset 14020, and match that change by removing
...
the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 01:52:27 +00:00
Ewan Mellor
b33bb1e4d9
Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs and
...
bindings for many of the get_all methods elsewhere that Xend already
implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 01:05:32 +00:00
Ewan Mellor
d8309d27a1
Added some more fields to host_cpu.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 00:37:27 +00:00
Tim Deegan
b3c8af5814
[HVM][SVM] Save/Restore: Remove commented out code
...
Code not needed by SVM as the "VM_ENTRY_CONTROLS" register doesn't
exist.
Signed off: Mats Petersson (mats.petersson@amd.com )
2007-02-26 17:20:36 +00:00
kfraser@localhost.localdomain
9f60d76316
Missing files from previous changeset.
...
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com >
2007-02-26 17:05:10 +00:00
kfraser@localhost.localdomain
7998832e81
[xentrace][HVM] introduce HVM tracing to unify SVM and VMX tracing
...
* new tracing class TRC_HVM replacing TRC_VMX
* 20 new trace events to differentiate the information carried by them
** added corresponding trace points in SVM and VMX code
** updated formats file: descriptive formatting of trace event data
** completely replacing previous simple tracing in VMX
* possibility to toggle single events on and off at compile time in
include/asm-x86/hvm/trace.h
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com >
2007-02-26 17:04:39 +00:00
kfraser@localhost.localdomain
05741dbcaf
x86: Update map_pages_to_xen() to avoid arithmetic based on
...
uninitialised frame_table variable.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-26 16:27:35 +00:00
kfraser@localhost.localdomain
7353b82451
x86: Clean up {alloc,free}_xen_pagetable() interface to avoid use of
...
frame_table variable before initialisation. This wasn't a bug, but was
confusing.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-26 16:25:17 +00:00
Ewan Mellor
9923350256
Add argument check for xm network-attach command
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-02-26 15:50:50 +00:00
Ewan Mellor
d804137cf6
Fix xm vcpu-set command for when wrong number of VCPU is given
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-02-26 15:41:35 +00:00
Ewan Mellor
bb5e8c6299
Move credit scheduler configuration into XendDomainInfo, so that the domain
...
will be cleaned up correctly if the scheduler parameters are wrong.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-02-26 15:39:34 +00:00
Tim Deegan
f30771eb96
Merge
2007-02-26 14:48:46 +00:00
Tim Deegan
a9ddde26e2
[TOOLS] fix sizeof() usage in xc_core
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-26 14:47:54 +00:00
kfraser@localhost.localdomain
a3546dd2fc
linux: Fix backward compatibility in page table handling
...
A 3.0.2 compatibility requirement slipped my attention before
submitting the original page table handling changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-26 14:09:08 +00:00
Tim Deegan
9990621f33
[XEN] Allow log-dirty mode to be enabled on already-shadowed domains.
...
and catch a few missing mark_dirty() calls
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-26 13:56:01 +00:00
kfraser@localhost.localdomain
2765521399
Remap PCI-ISA IRQ 6 to IRQ 7. Disable LPT1 by default and remove its
...
definition from the ACPI DSDT. This avoids conflict with FDC on IRQ6
(it is a bit more likely that someone will want to connect a floppy
image to a guest than it is that anyone will ever care about
parallel-port functionality).
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-26 11:53:35 +00:00
kfraser@localhost.localdomain
f7e153faad
Resolve conflict over use of name xen_elfnote.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-26 11:21:03 +00:00
Tim Deegan
cf5a7b113f
Merge
2007-02-26 10:23:03 +00:00
Tim Deegan
d2bf4b790f
[HVM] Shadow: always use mmio_space() to detect MMIO addresses
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-26 10:22:38 +00:00
kfraser@localhost.localdomain
57b00da84b
libxc, ia64: Added new arch_hook for registering ia64 big endian images.
...
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com >
2007-02-26 10:18:52 +00:00
kfraser@localhost.localdomain
4a2a7137e6
Save elfnotes in VM sxpr under image/notes, and load them on restore.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-26 09:59:56 +00:00
kfraser@localhost.localdomain
41881805d1
Write Xen ELF notes into xenstore on domain build.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-26 09:59:33 +00:00
Tim Deegan
2695cd025a
[HVM] Revert cset 14083
...
which was wrong, and not very useful.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-26 09:28:30 +00:00
kfraser@localhost.localdomain
8705acb340
xm-test, acm: Use xvda* device name instead of sdb* device inside guest domain.
...
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-02-26 09:13:50 +00:00
kfraser@localhost.localdomain
5d606a4e68
Remove duplicate #includes from Linux sparese-tree file.
...
From: Chuck Short <zulcss@gmail.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-26 09:12:55 +00:00
Ewan Mellor
f8b1ed8706
Remove unused network.default_{gateway,netmask}.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-26 00:07:14 +00:00
Ewan Mellor
51b6900b84
Redefine units of VDI.virtual_size to be bytes, not sectors.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 23:45:39 +00:00
Ewan Mellor
496ee4e22a
Added host.capabilities field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 23:37:05 +00:00
Ewan Mellor
d8f5871da1
Replace VM.tools_version with a richer VM_guest_metrics class.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 23:17:14 +00:00
Ewan Mellor
719e521fa2
Added documentation and C bindings for VBD/VIF.status_detail, status_code, and
...
currently_attached fields. Not yet implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 22:47:29 +00:00
Ewan Mellor
9421735453
Added a VM.domid field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 22:31:43 +00:00
Ewan Mellor
6bae08b498
Remove the bindings for VM.get_VCPUs_{number,utilisation} -- these have moved
...
onto the metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 22:02:12 +00:00
Ewan Mellor
0982a6eac0
Fix typo in host record.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 21:53:39 +00:00
Ewan Mellor
bc26603f4b
Added tab completion for methods and object references to xm shell.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 21:52:54 +00:00
Ewan Mellor
5baa3458c5
Added host.API_version_{major,minor,vendor,vendor_implementation} fields.
...
Fix missing host.other_config from the record returned by Xend.
Improve the error diagnosis when we catch TypeError.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 17:20:51 +00:00
Ewan Mellor
b0a0faf30a
Added VBD. and VIF.qos_supported_algorithms fields, with C bindings, Xend
...
implementation to follow.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-21 23:03:00 +00:00
Keir Fraser
159ce02013
libxc: Code format cleanups.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-24 15:30:19 +00:00
Keir Fraser
e0b421d242
Reduce impact of saving/restoring/dumping large domains on Dom0 memory
...
usage by means of fadvise64() to tell the OS to discard the cache
pages used for the save/dump file.
Signed-off-by: Simon Graham <Simon.Graham@stratus.com >
2007-02-24 14:48:17 +00:00
Keir Fraser
6948b54199
dump-core: documentation on its format.
...
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-02-24 14:33:34 +00:00
Keir Fraser
1c086c444c
xc_ptrace_core.c new elf format support
...
The old format is still supported and the old implementation is left
as is with the slight adjustment to coexist with new implementation.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-02-24 14:32:43 +00:00
Keir Fraser
e3ce7ff90f
Xen coredump format: ELF formatified with note section.
...
added PFN-GMFN table for non-auto translated physmap
added PFN table for auto translated physmap.
HVM domain support.
IA64 support
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
Use the guest's own p2m table instead of xc_get_pfn_list(), which
cannot handle PFNs with no MFN.
Dump a zeroed page for PFNs with no MFN.
Clearly deprecate xc_get_pfn_list().
Do not include a P2M table with HVM domains.
Refuse to dump HVM until we can map its pages with PFNs.
Signed-off-by: John Levon <john.levon@sun.com >
2007-02-24 14:31:42 +00:00
Keir Fraser
4062095bcb
Move some definitions from xg_save_resotre.h to xg_private.h
...
which are necessary for the new dump core implementation.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-02-24 14:19:42 +00:00
Keir Fraser
7a439455bd
x86 hvm domain builder, restore: set shared_info.arch.max_pfn for
...
dump-core to know the area to dump
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-02-24 14:19:05 +00:00
Keir Fraser
da97fcd329
Support new xm command: xm trigger <Domain> <nmi|reset|init> [<VCPU>]
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com >
2007-02-24 14:10:27 +00:00
Keir Fraser
83ac3090ec
xen memory allocator: Allow per-domain bitwidth restrictions.
...
Original patch by Jan Beulich <jbeulich@novell.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-24 13:57:34 +00:00
Keir Fraser
3331afd965
xen memory allocator: Dynamically allocate per-numa-node metadata.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-24 12:19:22 +00:00
Jake Wires
a3d17a18e5
[TAPDISK] honor read-only attributes when creating tap-based VBDs
...
Signed-off-by: Jake Wires <jwires@xensource.com >
2007-02-23 17:26:07 -08:00
Jake Wires
99a8295b96
[TAPDISK] handle error case when opening VDIs
2007-02-23 09:40:32 -08:00
kfraser@localhost.localdomain
116cd90796
xen memory alloctor: remove bit width restrictions
...
Hide the (default or user specified) DMA width from anything outside
the heap allocator. I/O-capable guests can now request any width for
the memory they want exchanged/added.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-23 17:02:58 +00:00
kfraser@localhost.localdomain
d3ed20c747
xen memory allocator: per-bit-width heap zones
...
Replace the 3-zone scheme of the heap allocator with one with one
where zones are distinguished by their bit widths.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-23 17:01:38 +00:00