Commit Graph
13814 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 00aabc5c80 linux/i386: Improve critical region handling code
- use symbolics instead of raw numbers (going to help the 2.6.20 port,
as those numbers change there)
- fold instructions where possible
- move fixup table into .rodata

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-06 23:36:53 +00:00
kfraser@localhost.localdomain e471d8c8bf hvm: vcpu reset support for x86 INIT IPI, needed for CPU hotplug.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2007-02-06 23:14:21 +00:00
kfraser@localhost.localdomain 15587769c8 minios: Fix netfront for ia64.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-02-06 23:12:59 +00:00
kfraser@localhost.localdomain bec98603f5 Fix up xentrace record extraction in xentrace_format for 64-bit
architectures.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
2007-02-06 23:10:05 +00:00
kfraser@localhost.localdomain 09a4bf86cf [TPM] Set tcpa calls in the rombios and other fixes.
This patch places some tcpa calls into the rombios that had previously
not applied anymore or were not set.
Force the reads from MMIO memory locations that the compiler otherwise
optimizes away (-O2) if there was an immediate write to the same
memory location before.
Use #define'd constants wherever possible.
Fix all remaining compiler warnings.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-02-06 23:01:35 +00:00
kfraser@localhost.localdomain 9c3844a97e [TPM] TIS dm suspend code fix
This fixes a bug in the TPM TIS device model's state suspend code and
adds some casts to variables to avoid compiler warnings.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-02-06 22:59:35 +00:00
Ewan Mellor 0ea3c30b5b Fix xm sched-credit when given an invalid domain name.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-02-06 16:05:29 +00:00
Ewan Mellor 19bcd321c5 Fix XendLogging to work on Python 2.4.0 and 2.4.1 (the logging library interface
changed with 2.4.2, not 2.4.0).

Signed-off-by: Qing He <qing.he@intel.com>
2007-02-06 15:37:11 +00:00
Ewan Mellor 85a6129e55 Pass the -r flag to losetup for read-only devices.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2007-02-06 15:35:18 +00:00
Brendan Cully 350318c598 Make sure OptVals.quiet is always present (fixes xm shutdown -w).
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
2007-01-31 11:05:36 -08:00
Tim Deegan ed40790462 [QEMU] Unmap video RAM before telling the guest to free it.
This avoids a lot of "freeing in-use page" errors.

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-02-05 16:40:19 +00:00
Tim Deegan 9c191c671e [HVM] Save/restore: tidy up IRQs
- don't save PV state
 - recalculate IRQ assert counts instead of saving them

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-02-05 15:08:18 +00:00
Tim Deegan 12d64eed3d [HVM] Save/restore: misc tidying
- Don't save PIT's last-load-time or CPU's vmx-assist bits
 - Reorder save as cpu, PICs, irqs, timers
 - Save the correct value in the HPET's counter.

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-02-05 11:38:22 +00:00
kfraser@localhost.localdomain ec48ab815b Hide RDTSCP feature flag from PV guests.
Linux 2.6.19 (x86-64) makes use of this feature if available, but Xen
(validly) fails the attempt to write the respective MSR. Hence the
feature must be hidden from PV guests.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-02 16:07:13 +00:00
kfraser@localhost.localdomain e03f6e62c8 linux: Allow xenbus_strstate() to be used from modules.
The function is referenced by a number of DPRINTK()-s. Also, properly
const-ify it.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-02-02 16:04:11 +00:00
kfraser@localhost.localdomain e5a28da5db minios: Fix bug in xenbus implementation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-02 15:55:56 +00:00
kfraser@localhost.localdomain b5c66d3493 Fix cross-compile: ia64 build on x86.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-02-02 15:54:42 +00:00
kfraser@localhost.localdomain 0ee998f095 linux: compilation fix of linux/drivers/oprofile/oprof.c
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-02-02 15:52:30 +00:00
kfraser@localhost.localdomain 34814f4465 New domain builder arch_setup hook clean up.
arch_setup_early  -> arch_setup_meminit
 arch_setup_middle -> arch_setup_bootearly
 arch_setup_late   -> arch_setup_bootlate

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-02-02 15:50:27 +00:00
kfraser@localhost.localdomain 44480a0820 libxc: Domain builder must align initial virtual mapping to 4MB
boundaries.
From: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-02 15:41:45 +00:00
kfraser@localhost.localdomain 502043ef90 minios: Fix ret_from_exception routine. Stack consistency is now preserved.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2007-02-02 15:30:49 +00:00
Ewan Mellor 8ae342b80b Added default for the vcpus_params key.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-02 14:32:48 +00:00
Ewan Mellor 8389ab43f5 Added host.dmesg method.
Also, fixed all of the host methods, which had been broken by the introduction
of the host_metrics class.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-02 10:25:17 +00:00
Ewan Mellor d650ce4366 Remove VM_power_state value ShuttingDown. This should be indicated with
an in-progress task, when known.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-02 10:07:58 +00:00
Ewan Mellor 437919c58f Remove some obsolete constants (XEN_API_DRIVER_TYPE, XEN_API_BOOT_TYPE).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-02 10:03:21 +00:00
Ewan Mellor a98eadf63a Improved the example to show creation of a VNC console, and the difference
between HVM and PV domains.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 19:02:55 +00:00
Ewan Mellor 948fd9f5a1 Added support for maps inside structs, so that we can send the HVM boot params
and VCPU params.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 19:02:13 +00:00
Ewan Mellor f72dfefae2 Make the string->string map and int->float map allocation functions set the
map size on allocation.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 19:00:17 +00:00
Ewan Mellor d1e7d46990 Clean up some cruft.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 18:45:50 +00:00
Ewan Mellor f51cfb888b Treat the empty string as an absent UUID, not an invalid one. Fix to_sxp
wrt dictionaries.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 18:15:36 +00:00
Ewan Mellor 19b7983432 Return the stored vcpus_params if the domain is not running.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 18:14:40 +00:00
kaf24@firebug.cl.cam.ac.uk 47fd2b1be1 Fix xen-x86_32 defconfig to includean option needed for PAE builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-01 17:52:08 +00:00
Ian Campbell e552fbffca merge 2007-02-01 16:55:45 +00:00
john.levon@sun.com 437359ebc8 Fix Solaris build - use $(MAKE) not make.
Signed-off-by: John Levon <john.levon@sun.com>
2007-02-01 08:41:36 -08:00
Ian Campbell 11247302ad [XEN] Extend the range returned by KEXEC_RANGE_MA_XEN to cover the
heap as well as code+data. This makes kdump work again after
13546:d86a96ca47a3

Also fix sizeof_note to correctly calculate the length of the name
field.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-02-01 16:07:22 +00:00
Ewan Mellor fa39434f9a Fix SDL option for HVM domains.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 15:44:00 +00:00
Ewan Mellor c3bf42e922 Fix handling of HVM boot.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 15:32:16 +00:00
Ewan Mellor f9d2dae496 Fix merge conflict between new HVM console handling and new HVM boot handling.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 15:31:34 +00:00
Ewan Mellor d6f8b69ced Fix HVM save/restore wrt console handling.
From Tim Deegan <Tim.Deegan@xensource.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 15:30:22 +00:00
Tim Deegan 45d4d259a2 Merge 2007-02-01 15:03:55 +00:00
Tim Deegan 479f9c8a5d [PYGRUB] Invoke pygrub with TERM=vt100
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-02-01 15:03:37 +00:00
Ewan Mellor edb08a7488 Use the new xen-python-path to set PYTHONPATH, rather than trying to do it in
XmTestLib.__init__ (and getting it wrong).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 14:41:58 +00:00
Tim Deegan 22a3e99d97 Merge 2007-02-01 13:15:03 +00:00
Tim Deegan 9ed7023291 [XEN] Wrap compat XLAT_ macros in "do { } while (0)".
This unbreaks code like

    if ( !IS_COMPAT(dom) )
        memcpy();
    else
        XLAT_foo();

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-02-01 13:14:43 +00:00
Ewan Mellor a84714b11c Break out the Python path interrogation into a separate script. This has the
advantage that the temporary path manipulation cannot affect the main script,
and that it can be shared with other programs, such as xm-test.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 12:48:53 +00:00
Ewan Mellor 73c92d7bb2 Change VM.HVM_boot to VM.HVM_boot_policy and VM.HVM_boot_params.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 11:55:31 +00:00
kfraser@localhost.localdomain d0a7aa6a33 Allocate Xen kexec/kdump elfnote sections of the correct size.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-01 14:15:37 +00:00
kfraser@localhost.localdomain 6552100e95 safe_str*() functions check their destination argument is a
character-array type. Fix two bad callers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-01 13:44:35 +00:00
Ewan Mellor 6880c9f6b7 Copy the definition of DOM0_UUID into XenDomain so that we don't need to import
large swathes of the server to run the Xen-API tests.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-02-01 11:42:50 +00:00
Ian Campbell 9c4ed974a4 [TOOLS] Remove a debug message which is spamming the logs during live
migration.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-02-01 10:21:42 +00:00