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
Ian Campbell
7b68919128
merge
2007-02-23 16:57:34 +00:00
Ian Campbell
f380fac05a
[LINUX] Purge include <linux/config.h>. It has been obsolete for some time now.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-02-23 16:56:45 +00:00
Ian Campbell
8c994baaf3
[PV-on-HVM] Fix gnttab_map to not run off the bottom of the gnttab space.
...
Cleanup a few warnings: reached end of void function and unused variables.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-02-23 16:56:42 +00:00
kfraser@localhost.localdomain
bd3e1195d6
xen memory allocator: hide generic allocator routines
...
This patch doesn't introduce functional changes, but simply moves code
around to make the unused (outside of the page allocator) heap alloc
functions taking an explicit zone parameter static without having to
forward-prototype them in their source file.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-23 16:55:56 +00:00
kfraser@localhost.localdomain
07a46fde35
xentrace: Add a relative TSC field (kept track per CPU) to xentrace_format.
...
Additionally a default line is added (key 0x00000000) which is used
when no specific entry in the format file is found.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com >
2007-02-23 16:36:55 +00:00
kfraser@localhost.localdomain
634febdae7
linux, tpm: Fix argument to grant table operation
...
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-02-23 16:24:07 +00:00
kfraser@localhost.localdomain
7379f53a09
hvm: Fix save/restore to handle missing pages.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-23 16:17:00 +00:00
kfraser@localhost.localdomain
2f40f165d6
hvm: unset_mm_mapping() for vga acceleration region should recalculate
...
maxmem setting before freeing memory!
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-23 16:16:36 +00:00
Tim Deegan
ae83184fe3
[HVM] Only treat gfns in known MMIO regions as MMIO
...
instead of assuming that all non-RAM addresses are MMIO
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-23 14:44:07 +00:00