aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* mergekfraser@localhost.localdomain2006-10-252-3/+8
|\
| * [XEND] Be more generous with the default shadow allocation.Tim Deegan2006-10-251-3/+6
| | | | | | | | | | | | Allow enough shadow memory to avoid thrashing the shadow pages, rather than just enough for safety. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
| * [HVM] Avoid buffer overrun in qemu-dmTim Deegan2006-10-251-0/+2
| | | | | | | | | | | | The array offset in set_bits_in_row here comes from an otherwise un-checked VNC client request. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* | [HVM] Move ACPI timer to HV, which is the last platform timer in Qemu.kfraser@localhost.localdomain2006-10-251-4/+5
|/ | | | | | | | | | | | | | | | | | | | We found Vista polls ACPI timer very frequently (about 15 times averagely) when handling timer (RTC @ 64HZ) interrupt routine. Though the exact reason is known, it should be related to system time adjustment. When it's in Qemu, the overhead is big. After moving, Vista's idle overhead decreases dramatically from ~10% to 0.9%.=20 Another benefit is that Vista can only pass Performance rating with this patch. The root cause is that ACPI timer in Qemu isn't synchronous with other platform timer in HV, which results in Vista complains "can't measure TSC frequency". This patch changes vpit.h to vpt.h, for it not only has pit structure in it, but other platform timer's structure. Another change is moving ACPI timer and related address from acpi.h to ioreq.h, which can be shared by HV and ACPI firmware. Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
* [BLKTAP] Simplify linked-list insertion/deletion.kfraser@localhost.localdomain2006-10-253-103/+49
| | | | | | This should also avoid (bogus) compiler warnings, as reported on IA64. Signed-off-by: Keir Fraser <keir@xensource.com>
* [XEND] Open xend-debug.log in append mode.kfraser@localhost.localdomain2006-10-251-2/+2
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* [TOOLS][XENTOP] Update usage and manpage to include vbd options.kfraser@localhost.localdomain2006-10-252-3/+6
| | | | | | Also a couple of whitespace fixes. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
* Add x86_64 to the supported architectures since otherwise the testsEwan Mellor2006-10-241-1/+2
| | | | | | don't run. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Fix Memory assumptions in the create tests.Ewan Mellor2006-10-244-7/+16
| | | | | | Use the architecture specified idea of minimum memory. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
* [qemu patches] Update patches upto changeset 11870:29b02d929b7e.Christian Limpach2006-10-2424-181/+1545
| | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* This puts two small fixes in the xm-test suite:Ewan Mellor2006-10-242-2/+5
| | | | | | | | - it turns off verbose mode of the ACM module - copies the test policy to the policies directory only if the directory has been created Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Added multiarch support to xm-test. Bumped version number to xm-test 1.0.Ewan Mellor2006-10-245-13/+82
| | | | | | New README for public ramdisks. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Update buildroot configs to match snapshot downloaded for public ramdisks.Ewan Mellor2006-10-242-8/+28
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Default to appending to "extra" in XenConfig.Ewan Mellor2006-10-231-0/+3
| | | | | | | PowerPC needs console information from the command line. Resetting the whole command line causes false failures. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
* Add ability to inspect messages from domain for arbitrary strings.Ewan Mellor2006-10-232-0/+25
| | | | | | Used on PowerPC to FAIL(), if the guest domain hits a BUG() and enters XMON. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
* Add configuration data for powerpc.Ewan Mellor2006-10-233-0/+366
| | | | | | Allows for building of initrd, and running of tests. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
* Refactor code to encapsulate architecture decisions in one place.Ewan Mellor2006-10-234-66/+161
| | | | | | Also includes some whitespace fixes. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
* Rename buildroot -> buildroot-i386.Ewan Mellor2006-10-232-1/+1
| | | | | | Also update Makefile. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
* [XM] Print qualified path to config file on domain creation.kfraser@localhost.localdomain2006-10-231-0/+6
| | | | | From: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* Allow domain config file to specify credit-scheduler parameters.kfraser@localhost.localdomain2006-10-233-5/+22
| | | | Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com>
* [XM] Allow empty resource strings (e.g., when creating an empty CDROMkfraser@localhost.localdomain2006-10-232-2/+11
| | | | | device). Also clean up error/acces-denied path. Signed-off-by: Keir Fraser <keir@xensource.com>
* [ACM] Don't use uninitialised struct value if hypercall fails.kfraser@localhost.localdomain2006-10-231-5/+10
| | | | | From: Jan Beulich <jbeulich@novell.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* [SOLARIS] Don't mlock() hypercall buffers.kfraser@localhost.localdomain2006-10-2313-89/+139
| | | | | | | On solaris mlock requires a page aligned address and mlock doesn't ensure the pages won't minor page fault. Signed-off-by: Mark Johnson <mark.johnson@sun.com>
* Use $CC when building pygrub.kaf24@localhost.localdomain2006-10-221-3/+3
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* [XEND] Remove lazy import of signal module.kfraser@localhost.localdomain2006-10-201-1/+1
| | | | Signed-off-by: Jeremy Katz <katzj@redhat.com>
* [ACM] Documentation cleanup.kfraser@localhost.localdomain2006-10-205-617/+180
| | | | | | | This patch eliminates redundant security tools information that was integrated into the Xen user guide and the xm man page. Signed-off by: Reiner Sailer <sailer@us.ibm.com>
* [HVM] Implement password authentication of VNC connections.kfraser@localhost.localdomain2006-10-2013-5/+710
| | | | | | | | | | | | | The specification is as mentioned at http://lists.xensource.com/archives/html/xen-devel/2006-09/msg00666.html (However, password came to describe plain text) The difference is follows. - protocol_authtype() without the necessity was deleted. - The check on the protocol version was added. - And, some small modification. Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com>
* Use the name of the title of the system to boot into (instead of thekfraser@localhost.localdomain2006-10-202-63/+70
| | | | | | | | kernel version) to determine where to make the entry into the grub configuration file. Signed-off-by: Reiner Sailer <sailer@us.ibm.com> Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* [VMXASSIST] Some reports that macros do not get picked up by CPPkaf24@firebug.cl.cam.ac.uk2006-10-192-2/+2
| | | | | if they are prefixed with $. Fix by placing macro uses in (). Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM] Windows HCT requires non-zero subvendor details in platform PCI device.kfraser@localhost.localdomain2006-10-191-1/+7
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* [XEND] Two small fixes/improvements from Glauber de Oliveira Costa.kfraser@localhost.localdomain2006-10-192-0/+5
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM][VMX] Use CPUID instruction virtualization to workaround VMXAssist 4G ↵kfraser@localhost.localdomain2006-10-193-12/+58
| | | | | | | | | | | | | | limit. Address space access limit in VMXAssist is 4G, because IA-32 only has 4GB virtual address space which VMXassist can use to map physical memory. The issue is, win2k3 server with more than 4G memory will put AP GDT above 4G, so when AP changes its mode from real mode to PAE paging mode, the long jump instrction it uses need access AP GDT entries which resides above 4G, but because of this constraint, it can not access GDT and so fails boot. Signed-off-by: Xin Li <xin.b.li@intel.com>
* [ACM] An environment where ACM and its tools have not been installed beforekfraser@localhost.localdomain2006-10-192-1/+7
| | | | | | will throw an error during 'make' of the test suite. This fixes the problem. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Don't use $(LINK.o), as it doesn't pick up -m32/-m64 from $(CFLAGS).kfraser@localhost.localdomain2006-10-192-8/+8
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* [HVM] XenTrace enhancement for HVM SMP guests.kfraser@localhost.localdomain2006-10-181-5/+24
| | | | | Signed-off-by: Yunfeng Zhao <yunfeng.zhao@intel.com> Signed-off-by: Xin Li <xin.b.li@intel.com>
* Replace test-gcc-flag with Linux-style cc-option.kfraser@localhost.localdomain2006-10-183-7/+7
| | | | | | | Improve on Linux implementation by looking for any output on stdout/stderr. This indicates badness. Signed-off-by: Keir Fraser <keir@xensource.com>
* [HVM] Enable DMA mode for CD-ROM IDE ATAPI interface.kfraser@localhost.localdomain2006-10-181-2/+2
| | | | Signed-off-by: Winston Wang <winston.l.wang@intel.com
* [TPM] Check the existence of the xenstore path before trying to read from it.kfraser@localhost.localdomain2006-10-181-2/+4
| | | | | | | This prevents an error from being logged. Use the wrapped command for reading from the xenstore instead of the native one. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* [HVM] Move RTC emulation into the hypervisor.kfraser@localhost.localdomain2006-10-182-0/+115
| | | | Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
* [SOLARIS] More tools fixes.kfraser@localhost.localdomain2006-10-181-3/+3
| | | | | | | | | Many of the tools use C99 features such as bool, or expect certain functions. Fix the CFLAGS to enable these on Solaris. Also make sure the correct $CC is passed to Python. Signed-off-by: John Levon <john.levon@sun.com>
* [ACM] Fix the resource representations in the resource_labelkfraser@localhost.localdomain2006-10-184-7/+30
| | | | | | | | | | | | | file. Without this patch, multiple representations of the same resource can co-exist in the resource label file and lead to errors during operation. Ensures that all resource file names are stored with absolute path name and are unique. Setting labels of phy-resources, relative paths will automatically be pre-pended with '/dev/'; labeling file-resources with relative paths will raise an error. Signed-off by: Reiner Sailer <sailer@us.ibm.com>
* [HVM] E820 table misreports the ACPI NVS/Data information whichkfraser@localhost.localdomain2006-10-181-29/+6
| | | | | | | triggers a complaint from Windows HCT. Signed-off-by: Xin Li <xin.b.li@intel.com> Signed-off-by: Winston Wang <winston.l.wang@intel.com>
* [ACM] Fix binary alignment in tools.kfraser@localhost.localdomain2006-10-181-6/+8
| | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* [ACM] Keep stream aligned.kfraser@localhost.localdomain2006-10-181-4/+6
| | | | Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
* Clean up linker flag definitions.kfraser@localhost.localdomain2006-10-182-4/+3
| | | | | | | | | | | | | | | | | 1. GNU ld does not understand -m{32,64}. It must be cooked for it by the GCC driver program. 2. Where GNU ld is directly called we must use -melf_{i386,x86_64}. 3. We cannot avoid calling GNU ld directly in some cases (e.g., when specifying GNU-specific linker scripts) as on some host architectures the GCC driver is configured to call the host linker. 4. We cannot add -melf_{i386,x86_64} to LDFLAGS as the option is not recognised by GCC. Hence we define new LDFLAGS_DIRECT, to be added to the command line only when invoking GNU ld directly. Signed-off-by: Keir Fraser <keir@xensource.com>
* [TPM] Allow all tests of the xm test suite to be run when ACMkfraser@localhost.localdomain2006-10-185-4/+22
| | | | | | | | | | | | | | security is turned on in hypervisor. This is done by implicitly labeling VMs and resources if they have not been labeled through explicit calls. To allow the xm tests suite to label resources automatically, run ./configure --enable-full-labeling once. To turn it off, the '--enable-full-labeling' parameter should be omitted. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* [TPM] Add tests cases for the ACM security hooks and tools tokfraser@localhost.localdomain2006-10-1816-0/+713
| | | | | | | | | | | | | | | | | | | | | | the xm test suite. The tests can be run with ACM turned off (not compiled into Xen; see user doc for this), but most of them will be skipped then. They can be run with a command like make -C tests/security-acm check-TESTS from the xm-test directory. They are also part of the default tests in the tests suite and part of a new group test 'security'. Since some of the tests require resources to be labeled, one must explicitly enable the resources to be allowed to be labeled by the test suite by running ./configure --enable-full-labeling once. To turn it off, the '--enable-full-labeling' parameter should be omitted. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Fix 'chk' scripts for generic shell (non-bash) and *BSD.kfraser@localhost.localdomain2006-10-186-42/+88
| | | | | From: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* xc core structures are not Linux specific.kfraser@localhost.localdomain2006-10-181-5/+5
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* [SOLARIS] Xen daemons are managed separately, so we need a way to startkfraser@localhost.localdomain2006-10-173-5/+25
| | | | | | just xend, and we need to disable xend's self-restarter. Signed-off-by: John Levon <john.levon@sun.com>