aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Fix for Solaris compile/output for VBDs in xentop.kfraser@localhost.localdomain2007-02-271-4/+12
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* mergeIan Campbell2007-02-271-1/+26
|\
| * [TOOLS] Add support for XEN_ELFNOTE_L1_MFN_VALID to readnotes.Ian Campbell2007-02-271-1/+26
| | | | | | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* | Accelerate IDE PIO on HVM/IA64 [2/3]kfraser@localhost.localdomain2007-02-272-4/+12
| | | | | | | | | | | | Add one more page to the guest for IDE PIO. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
* | Accelerate IDE PIO on HVM/IA64 [1/3]kfraser@localhost.localdomain2007-02-272-0/+130
|/ | | | | | Add a bufferring mechanism for IDE PIO in qemu. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
* Fix save/restore (and non-live migrate) on PAE.Steven Hand2007-02-271-3/+6
| | | | | | Plus add some more debug output to help us spot similar issues in the future. Signed-off-by: Steven Hand <steven@xensource.com>
* Added SXP pretty-printer.Ewan Mellor2007-02-271-0/+45
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix exception handling to cope with exceptions that do not have a string asEwan Mellor2007-02-271-2/+5
| | | | | | the first argument. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* [TOOLS] Make xentrace help a little more informative.George Dunlap2007-02-271-2/+4
| | | | Signed-off-by: George Dunlap <gdunlap@xensource.com>
* [TOOLS] Added option to xentrace to discard records in the bufferGeorge Dunlap2007-02-271-0/+19
| | | | | | before beginning the trace. Signed-off-by: George Dunlap <gdunlap@xensource.com>
* Fix missing bits of the docs from cset 14020, and match that change by removingEwan Mellor2007-02-277-105/+4
| | | | | | the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs andEwan Mellor2007-02-2727-8/+261
| | | | | | | bindings for many of the get_all methods elsewhere that Xend already implemented. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added some more fields to host_cpu.Ewan Mellor2007-02-274-64/+124
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Missing files from previous changeset.kfraser@localhost.localdomain2007-02-263-47/+59
| | | | Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
* Add argument check for xm network-attach commandEwan Mellor2007-02-261-3/+10
| | | | Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* Fix xm vcpu-set command for when wrong number of VCPU is givenEwan Mellor2007-02-261-0/+3
| | | | Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* Move credit scheduler configuration into XendDomainInfo, so that the domainEwan Mellor2007-02-262-14/+9
| | | | | | will be cleaned up correctly if the scheduler parameters are wrong. Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* [TOOLS] fix sizeof() usage in xc_coreTim Deegan2007-02-261-1/+1
| | | | Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* Remap PCI-ISA IRQ 6 to IRQ 7. Disable LPT1 by default and remove itskfraser@localhost.localdomain2007-02-265-196/+40
| | | | | | | | 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>
* Resolve conflict over use of name xen_elfnote.kfraser@localhost.localdomain2007-02-263-7/+7
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* libxc, ia64: Added new arch_hook for registering ia64 big endian images.kfraser@localhost.localdomain2007-02-261-0/+10
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* Save elfnotes in VM sxpr under image/notes, and load them on restore.kfraser@localhost.localdomain2007-02-262-3/+34
| | | | Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
* Write Xen ELF notes into xenstore on domain build.kfraser@localhost.localdomain2007-02-264-10/+106
| | | | Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
* xm-test, acm: Use xvda* device name instead of sdb* device inside guest domain.kfraser@localhost.localdomain2007-02-261-9/+9
| | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Remove unused network.default_{gateway,netmask}.Ewan Mellor2007-02-265-184/+12
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Redefine units of VDI.virtual_size to be bytes, not sectors.Ewan Mellor2007-02-254-5/+5
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added host.capabilities field.Ewan Mellor2007-02-255-0/+60
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Replace VM.tools_version with a richer VM_guest_metrics class.Ewan Mellor2007-02-255-27/+547
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added documentation and C bindings for VBD/VIF.status_detail, status_code, andEwan Mellor2007-02-254-0/+166
| | | | | | currently_attached fields. Not yet implemented. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added a VM.domid field.Ewan Mellor2007-02-253-1/+36
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Remove the bindings for VM.get_VCPUs_{number,utilisation} -- these have movedEwan Mellor2007-02-252-60/+2
| | | | | | onto the metrics class. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix typo in host record.Ewan Mellor2007-02-251-1/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added tab completion for methods and object references to xm shell.Ewan Mellor2007-02-252-1/+23
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added host.API_version_{major,minor,vendor,vendor_implementation} fields.Ewan Mellor2007-02-254-14/+169
| | | | | | | | 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>
* Added VBD. and VIF.qos_supported_algorithms fields, with C bindings, XendEwan Mellor2007-02-214-0/+60
| | | | | | implementation to follow. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* libxc: Code format cleanups.Keir Fraser2007-02-2411-1000/+1093
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Reduce impact of saving/restoring/dumping large domains on Dom0 memoryKeir Fraser2007-02-247-8/+110
| | | | | | | 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>
* xc_ptrace_core.c new elf format supportKeir Fraser2007-02-241-36/+549
| | | | | | | 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>
* Xen coredump format: ELF formatified with note section.Keir Fraser2007-02-249-41/+1513
| | | | | | | | | | | | | | | | | | 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>
* Move some definitions from xg_save_resotre.h to xg_private.hKeir Fraser2007-02-244-21/+19
| | | | | | which are necessary for the new dump core implementation. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* x86 hvm domain builder, restore: set shared_info.arch.max_pfn forKeir Fraser2007-02-242-0/+12
| | | | | | dump-core to know the area to dump Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* Support new xm command: xm trigger <Domain> <nmi|reset|init> [<VCPU>]Keir Fraser2007-02-246-0/+112
| | | | | | 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>
* [TAPDISK] honor read-only attributes when creating tap-based VBDsJake Wires2007-02-236-15/+38
| | | | Signed-off-by: Jake Wires <jwires@xensource.com>
* [TAPDISK] handle error case when opening VDIsJake Wires2007-02-231-2/+5
|
* xentrace: Add a relative TSC field (kept track per CPU) to xentrace_format.kfraser@localhost.localdomain2007-02-232-32/+41
| | | | | | | 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>
* hvm: Fix save/restore to handle missing pages.kfraser@localhost.localdomain2007-02-232-28/+27
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* hvm: unset_mm_mapping() for vga acceleration region should recalculatekfraser@localhost.localdomain2007-02-231-6/+6
| | | | | maxmem setting before freeing memory! Signed-off-by: Keir Fraser <keir@xensource.com>
* [XEN] [TOOLS] 32on64 compat save/restore: unadjust L3E flags at save timeEmmanuel Ackaouy2007-02-231-0/+12
| | | | | | | | | | Get rid of USER|RW|ACCESSED L3 PTE flags which may be present in a PAE guest when running on a 64bit hypervisor at save time. This prevents the restore operation from getting confused by these flags. Reset disallowed L3E flags to match PAE case. Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
* Implement VBD and VIF handling on Solaris for libxenstat.kfraser@localhost.localdomain2007-02-237-290/+838
| | | | | | Also, fix up a confusion with ERR that was breaking xentop. Signed-off-by: John Levon <john.levon@sun.com>
* [TAPDISK] minor changes to tapdisk and pluginsJake Wires2007-02-229-143/+224
| | | | | | * open all parent images read-only * expose parent image names to tapdisk (needed for locking api) Signed-off-by: Jake Wires <jwires@xensource.com>