aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* xenbaked: Fix for new trace format.Keir Fraser2007-10-041-3/+3
| | | | Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
* [hotplug scripts] Unlock the 'block' lock before bailing.Keir Fraser2007-10-041-0/+1
| | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* xm: Add accel option to xm network-attach.Keir Fraser2007-10-031-4/+7
| | | | Signed-off-by: Kieran Mansley <kmansley@solarflare.com>
* Merge with ia64 tree.Keir Fraser2007-10-0310-46/+307
|\
| * xend: Check access to the privcmd interface before doing the call toKeir Fraser2007-10-032-9/+14
| | | | | | | | | | | | | | | | fetch the currently enforced policy. Assign 'INACCESSIBLE' to the policy if it cannot be retrieved due to the user not being privileged. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
| * Extend 'xm dumppolicy' to support Xen-APIKeir Fraser2007-10-039-37/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | I am extending 'xm dumppolicy' to be used via the Xen-API. For this there are two new functions in the ACM policy class: - get the currently enforced policy including statistical data from the hypervisor - get the ACM 'ssidref' of a Domain. Since this may be a ACM-specific variable or type (int) I put it into the ACM class. I extended the Xen-API documentation with the two new functions. Signed-off-by: Stefan Berger <Stefanb@us.ibm.com>
* | merge with xen-unstable.hg (staging)Alex Williamson2007-10-0216-133/+191
|\|
| * xentop: Flush batch output on SIGTERM or SIGINT.Keir Fraser2007-10-021-8/+24
| | | | | | | | Signed-off-by: INAKOSHI Hiroya <inakoshi.hiroya@jp.fujitsu.com>
| * xend: Fix name/uuid uniqueness checks.Keir Fraser2007-10-021-2/+8
| | | | | | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
| * Revert 15642:207582c8d88b532783da5c6f5839336187556f0a.Keir Fraser2007-10-021-26/+0
| | | | | | | | | | | | | | This patch is now bogus since 15168:a717cb2fac90 is reverted by 15973:8817a53c030f. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
| * Fix external-device-migrate infinite loop.Keir Fraser2007-10-021-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | For some (yet) unknown reason extern-device-migrate is called twice, once with a missing domname argument. The following invocation loops forever: external-device-migrate -domname because "shift 2" never shifts ($# < 2) and $# is always 1. From: Pascal Bouchareine <pascal@gandi.net> Signed-off-by: Keir Fraser <keir@xensource.com>
| * xenctx: Print EFLAGS for i386 and x86/64.Keir Fraser2007-10-021-6/+49
| | | | | | | | | | From: Peter Johnston <pjohnston@xensource.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * xentrace: Fix xentrace_format for new file format.Keir Fraser2007-10-021-18/+71
| | | | | | | | Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
| * xentrace: Fix man page (remove xentrace_cpuinfo(1)).Keir Fraser2007-10-021-1/+1
| | | | | | | | Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
| * Fix ioemu compile on SolarisKeir Fraser2007-10-021-0/+2
| | | | | | | | | | Solaris doesn't have RLIMIT_RSS at least; don't try to set rlimits. Signed-off-by: John Levon <john.levon@sun.com>
| * Fix non-portabilities in libflask.Keir Fraser2007-10-023-8/+7
| | | | | | | | Signed-off-by: John Levon <john.levon@sun.com>
| * xend: Fix refactoring done in CS 15938 in security.py.Keir Fraser2007-10-021-1/+1
| | | | | | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
| * xm-test: Fix bugzilla #1051.Keir Fraser2007-10-022-3/+3
| | | | | | | | | | | | | | | | This is a patch to fix xm-test's network errors http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1051 From: Lukasz Szymanski <Lukasz.Szymanski@unisys.com> Signed-off-by: Keir Fraser <keir@xensource.com>
| * hvm: Avoid need for ugly setcpucontext() in HVM domain builder byKeir Fraser2007-10-011-53/+15
| | | | | | | | | | | | | | pre-setting the vcpu0 to runnable inside Xen, and have the builder insert a JMP instruction to reach the hvmloader entry point from address 0x0. Signed-off-by: Keir Fraser <keir@xensource.com>
| * libxenctrl: Fix lock_pages()/unlock_pages() region-size calculation.Keir Fraser2007-10-011-2/+4
| | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] xenitp improvementsAlex Williamson2007-10-021-93/+125
| | | | | | | | | | | | | | | | | | | | | | Remove all the casts by using char * instead of unsigned char *. The go command now accept a number. The disass command can now accept a range. Number of TRs is not hard-coded. '-' (minus) can now be used in expressions. '$iip' and '$b0' can be used in expressions. Signed-off-by: Tristan Gingold <tgingold@free.fr>
* | [IA64] xenitp: Display symbolic names of cr.Alex Williamson2007-10-021-0/+36
| | | | | | | | Signed-off-by: Tristan Gingold <tgingold@free.fr>
* | merge with xen-unstable.hgAlex Williamson2007-10-011-1/+28
|\|
| * xm: Print xend config via 'xm info --config'.Keir Fraser2007-10-011-1/+28
| | | | | | | | Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
* | [IA64] xenitp: correctly size vcpu_ctx arrayAlex Williamson2007-10-011-1/+1
| | | | | | | | | | | | vcpu_ctx[] array size should be MAX_VIRT_CPUS instead of 1. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | [IA64] xenctx: fix rse arithmeticAlex Williamson2007-10-011-1/+1
| | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* | merge with xen-unstable.hg (staging)Alex Williamson2007-09-2782-779/+2778
|\|
| * xend: Fix name uniqueness check (revert 15168:a717cb2fac90).Keir Fraser2007-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changeset 15168:a717cb2fac90 altered check_name() in XendDomainInfo so that it compares domain IDs instead of UUIDs. This breaks a number of things - You can no longer use 'xm new' to define a persistent config file for a running guest. This breaks the key OS provisioning scenario where you boot a kenrel+initrd for the installer, and at the same time define a permanent config with pygrub. - It lets you define multiple inactive guests with different UUIDs, but the same name because all inactive guests have a domid of None. So you can now end up with multiple guests with same name, which is contrary to the goal implied by the patch which was name uniqueness. It is unclear from the original commit logs just what scenario it was trying to protect against, but the original checking of uniqueness based on UUID was correct & is what was used in previous releases XenD. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
| * xend: fix server/netif.py so that it respects type=None.Keir Fraser2007-09-271-5/+3
| | | | | | | | Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
| * ioemu: Fixes for BSD.Keir Fraser2007-09-2714-46/+148
| | | | | | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
| * xend: Fix dummy security_policy_dir.Keir Fraser2007-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | Changeset 15951:ad339d88639d split policy_dir_prefix into security_dir_prefix and policy_dir_prefix in acm code. I think this needs to be reflected in the dummy module as well (otherwise we blowup when bootloader.py tries to reference security.security_dir_prefix). Fixed in below patch. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
| * libaio: Fix for *BSDKeir Fraser2007-09-271-1/+1
| | | | | | | | | | | | - Remove unused linux specific header - Include <sys/time.h> needed for struct timespec Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
| * xend: Slightly finesse allocation of vmpath in xenstore.Keir Fraser2007-09-261-1/+3
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * [xend,xenapi] Fix handling of scheduler paramsKeir Fraser2007-09-262-14/+19
| | | | | | | | | | | | | | | | | | | | When creating domains that specify scheduler parameters with XenAPI, the specified parameters are not used when starting the domain. This patch collapses cpu_weight and cpu_cap in XendConfig into the vcpus_params dictionary. The patch has been tested using xm and XenAPI on config with and without scheduler parameters. Signed-off-by: Jim Fehlig <jfehlig@novell.com>
| * ioemu: security fixes for not-built or not-default-configured subsystems.Keir Fraser2007-09-263-6/+17
| | | | | | | | | | | | | | Patches originally proposed by S. Caglar Onur and cleaned up for xen-unstable by Robert Buchholz <rbu@gentoo.org>. Signed-off-by: Keir Fraser <keir@xensource.com>
| * hvm: Improve tcgbios code for finding ACPI RSDP.Keir Fraser2007-09-261-15/+28
| | | | | | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
| * xenapi: add xen_xspolicy.h to libxen includes fileKeir Fraser2007-09-261-0/+1
| | | | | | | | Signed-off by: Reiner Sailer <sailer@us.ibm.com>
| * firmware: fix romimage generation for *bsdKeir Fraser2007-09-263-3/+3
| | | | | | | | | | | | | | | | | | - portability fix in Makefile: mkhex is not bash specific - GNU od separates column with one blank, BSD od uses eight blanks. Change sed to deal with this. - Add a fourth sed to fix a build error on NetBSD Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
| * xend: Fix VIF MAC address being lost across localhost migration.Keir Fraser2007-09-251-3/+17
| | | | | | | | | | | | VIF details in /vm/<uuid> directory in xenstore get deleted by old domain dying. Signed-off-by: Keir Fraser <keir@xensource.com>
| * Fix xend start after xsm:acm bootloader changes.Keir Fraser2007-09-251-1/+2
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * Fix tools dependency-check scripts for *BSD.Keir Fraser2007-09-252-0/+16
| | | | | | | | | | | | | | | | zlib and crypto libs are part of the base system in *BSD. So no need to check for them on *BSD. This conveniently avoids executing a non-portable usage of ldconfig. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
| * Fix security vulnerability CVE-2007-4993.Keir Fraser2007-09-252-23/+23
| | | | | | | | | | | | | | | | | | Protect pygrub from possible malicious content in guest grub config file. This fixes CVE-2007-4993. Original patch from Jeremy Katz, I updated to close 2 remaining issues pointed out by Christian and Keir, and to use setattr(self, ...). Signed-off-by: Chris Wright <chrisw@sous-sol.org>
| * xend memory ballooning: do not bother if guest will not fit inKeir Fraser2007-09-251-0/+16
| | | | | | | | | | | | | | | | | | | | physical memory constraints. If users require domain memory size larger than a physical memory size, we do not need waiting for ballooning, and should cause xm create command error right away. Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
| * [Xend/ACM] Automatic loading of policy after xend has started.Keir Fraser2007-09-242-30/+128
| | | | | | | | | | | | | | | | | | | | | | On systems where the grub bootloader is not available or active the to-be-activated policy is written a simple textfile. Once xend has started the contents can be read. Using 'xm setpolicy' the policy can be activated and the Domain-0 label set (using 'xm addlabel'). I fixed some bugs in the grub bootloader handler on the way and removed some dead functions. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
| * Missed files in previous changeset.Keir Fraser2007-09-242-0/+170
| | | | | | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
| * xenstat/xenstore: NetBSD fixes.Keir Fraser2007-09-243-3/+8
| | | | | | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
| * Fix xentrace build.Keir Fraser2007-09-241-2/+2
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * libxc: NetBSD-specific pieces.Keir Fraser2007-09-244-0/+466
| | | | | | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
| * Xen tracing cleanups and fixes.Keir Fraser2007-09-242-307/+316
| | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| * XSM:FLASK support for domain management under Xen-APIKeir Fraser2007-09-235-27/+35
| | | | | | | | Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>