Commit Graph
11637 Commits
Author SHA1 Message Date
atse@norwich.uk.xensource.com 7ce79f6a21 There's a typo in create.py, which affects PV bootloaders (such as
domUloader and probably pygrub).  Patch attached.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
2006-09-28 10:10:59 +01:00
kfraser@localhost.localdomain 4ac7a6de2f [VMXASSIST] Cast to pointer type via long to avoid compile
warnings/errors with latest gcc versions.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-27 17:49:22 +01:00
Steven Smith 8a44c227f8 [HVM] qemu should wait 10ms, rather than 100ms, between running its timers.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-27 16:22:17 +01:00
kfraser@localhost.localdomain 380485a5e8 [XM-TEST] Remove the test for /dev/tpm0, which may be a prerequisite to start
the vtpm_manager. A 'SKIP' is shown if the vtpm_manager process has not been started.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-09-27 14:30:36 +01:00
kfraser@localhost.localdomain 7031746224 [XEN] gdbstub return value is used to determine whether or not
to continue execution.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-27 14:28:26 +01:00
kfraser@localhost.localdomain a301105b5b [XM] Fix 'xm uptime' command.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-09-27 14:01:30 +01:00
kfraser@localhost.localdomain 3c9113ced2 [XM] Fix domain reported by 'xm sched-sedf'.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-09-27 14:00:33 +01:00
kfraser@localhost.localdomain 6681aec641 [XM] Fix 'xm rmlabel' command.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-09-27 13:59:48 +01:00
kfraser@localhost.localdomain 32b51f8b72 [XM] Reenable the '-h' option, disabled in changeset:11572.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-09-27 13:58:46 +01:00
kfraser@localhost.localdomain 81fe851d00 [HVM] Fix stupid printf formatting error that breaks x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-27 13:54:04 +01:00
kfraser@localhost.localdomain b93d004c46 [HVM] Fix MSR read/write and add extra info when
write to MSR_EFER fails.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-27 10:17:03 +01:00
kfraser@localhost.localdomain 0a3119b559 [XEN] Fix x86_emulate and hvm-mmio-insn-len decoders
to properly add cs<<4 to eip only when guest is in real
mode (or vm86 mode).
Remove bogus test-and-fail from hvm-mmio-insn-len decoder.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-27 09:29:46 +01:00
Steven Smith ed3d710e85 [HVM][VNC] Fix typo.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-26 19:50:07 +01:00
Steven Smith a58d1ba3cd [HVM][VNC] Work around a bug in the newest version of xvncviewer which
could lead to the display locking up after it's been idle for a while.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-26 16:47:35 +01:00
Steven Smith 54c338f9de [HVM][VNC] Make sure that qemu doesn't go into an infinite loop when
it receives certain invalid requests from the viewer.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-26 16:46:47 +01:00
Steven Smith 74f769a1ab [HVM] Make qemu_advance_timer do something sensible with timers which
aren't currently scheduled.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-26 16:45:52 +01:00
kfraser@localhost.localdomain a1793afe9b [HVM] Fix HLT with interrupts disabled. Only take down
the domain if no other VCPUs are online.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-26 14:01:38 +01:00
Emmanuel Ackaouy 7ccdaed2ed Adds support for the keyword 'all' to the vcpu-pin operation.
Using 'all' in place of a specific vcpu will apply the cpumask
to all vcpus in the domain.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2006-09-26 12:17:51 +01:00
kaf24@firebug.cl.cam.ac.uk 2d5c2b773d [VMXASSIST] Small fix to virt-to-phys translation.
CR4.PSE is ignored in PAE mode, so remove test of it.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-26 08:36:39 +01:00
kaf24@firebug.cl.cam.ac.uk 7dd93351eb Remove static forward declaration in gdbstub code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-26 08:34:52 +01:00
kfraser@localhost.localdomain 681ed1d454 [VMXASSIST] Fix virt-to-phys translation routine.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-25 18:19:30 +01:00
kfraser@localhost.localdomain bcfc0eb57b [XEN] Simplify VMCS allocation (never bigger than a page).
Dynamically determine reserved bits in execution-control
fields.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-25 17:46:08 +01:00
kfraser@localhost.localdomain 311aea6126 [XEN] Small clean up.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-25 17:45:28 +01:00
Steven Smith 832f7ab187 [HVM] Rate limit guest accesses to the qemu virtual serial port. This stops
grub's boot menu from hammering dom0.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-25 17:27:18 +01:00
Emmanuel Ackaouy ad8ae4055e Make dom0_vcpus_pin a platform independant option.
By default, it's off. When enabled on the command line, it
causes dom0's VCPUs to be pinned to their respective physical
CPUs at creation time. Once pinned, they can never be moved.
ALso cleanup VCPU initialization of scheduler parameters.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
2006-09-25 16:31:02 +01:00
kfraser@localhost.localdomain 8825d605c4 [XEN] Fix 11607 to avoid bignum aritmetic in assembly file.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-25 14:11:22 +01:00
kfraser@localhost.localdomain e3ec96309b [HVM] Use AMD's isntruction-length decoder for VMX as well as SVM
MMIO decode. The VMX-defined instruction-length info field is not
valid for use during most page faults. Hence we have to obtain the
instruction length the slow-and-stupid way.

This *will* go away when we throw away the wretched MMIO emulator.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-25 10:22:17 +01:00
kfraser@localhost.localdomain 3bcf69a3b6 Consolidate the preferable use of a pragma with the feature detection
in the make script.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-09-25 09:36:11 +01:00
kfraser@localhost.localdomain cd741d6d73 [XEN] Limit size of Xen heap to 2GB.
Avoids stub code created on the stack being unable to
reach targets in main Xen code via direct branches.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-09-25 09:31:11 +01:00
kfraser@localhost.localdomain b24690e3cc [XEN] Use symbolic constants to determine segment limits.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-09-25 09:29:28 +01:00
Steven Smith 782db06199 Merge. 2006-09-25 09:27:46 +01:00
Steven Smith 4d0c4def88 [XEN][HVM] Initialise the ELCR to level triggered mode from pic_init1.
This should really be done from the BIOS, but since it isn't, work around
it from here.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-25 09:26:51 +01:00
kfraser@localhost.localdomain ad27570a65 [TOOLS] Wait for backend devices to set up before resuming execution
of a restored guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-25 09:11:52 +01:00
kaf24@firebug.cl.cam.ac.uk 776187826b [XEN] Support unconnected IRQ lines in pirq_acktype().
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-24 10:14:17 +01:00
kaf24@firebug.cl.cam.ac.uk 972938c817 [XEN] Add local-APIC-edge to list of PIC types supported by pirq_acktype()
function.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-24 10:07:18 +01:00
kfraser@localhost.localdomain 152b691af7 [QEMU] A better build fix for qemu-dm.
This extends 11592:5c58df8c78851d47bf7130308895c4e0ac5fa5ad
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-23 16:23:11 +01:00
kfraser@localhost.localdomain 7b8fc89cfe Ensure CONFIG_SND_FM801_TEA575X is unconfigured on all arches.
Signed-off-by: Al Stone <ahs3@fc.hp.com>
2006-09-23 14:54:58 +01:00
kfraser@localhost.localdomain 5a1c6af897 Fix tools build with latest glibc, which has an
extended PTRACE enumeration.
Original patch from Stephen Tweedie <sct@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-23 14:52:04 +01:00
kfraser@localhost.localdomain c180e655c1 Use GDB 'O' packets for console output if the serial line is shared
and GDB is attached.

It may be necessary for gdb and the console to share a serial port.
This patch utilises the GDB protocol to encode console output.

Based on a patch from Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-23 14:47:00 +01:00
kfraser@localhost.localdomain d85cf94621 Move initialize_keytable declaration to keyhandler.h
Signed-off-by: Aron Griffis <aron@hp.com>
2006-09-23 14:07:41 +01:00
kfraser@localhost.localdomain 8f63d0b35e Clean up and enhance "make tags"
- delete correct file in _tags rule
- don't prune nonexistent files/dirs
- call exuberant-ctags with additional flags from Linux:
    -I to ignore some misleading hits
    --extra=+f to include an entry for the basename of every file
    --c-kinds=+px to add prototypes and external variable declarations

Signed-off-by: Aron Griffis <aron@hp.com>
2006-09-23 14:07:30 +01:00
kfraser@localhost.localdomain bcb871f1fd [HVM] Fix timer interrupt underflow bug.
Without the patch, vlapic->intr_pending_count could become a very
small negative, causing some local APIC timer interrupts lost.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
2006-09-23 14:04:22 +01:00
kfraser@localhost.localdomain e2e15eb8ee Update vnet kernel module to handle architectures without
socketcall(), for example Itanium, and some small changes
to be compatible with changed kernel interfaces.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2006-09-23 14:01:53 +01:00
kfraser@localhost.localdomain ff4b9c2134 [MINIOS] Added a new file arc/x86/setup.c and moved some x86 specific
initialization stuff from kernel.c there. Two new functions are added
to handle this.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2006-09-23 14:00:38 +01:00
kfraser@localhost.localdomain 4f76579fdb [QEMU] Fix build on some distros (e.g., FC6T3).
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-23 13:57:55 +01:00
atse@norwich.uk.xensource.com bfde0c9ad7 [XM] Fix argument parsing for dump-core subcommand
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-09-23 13:39:32 +01:00
kaf24@firebug.cl.cam.ac.uk 0b1ef2a5bc [HVM] A few cleanups to i8259.c -- in particular change
ELCR semantics (should not be modified by PIC reset).

This effectively removes Steve Smith's changeset
11586:08a582a98471da30fb86bca620495f3d91d55800
but the real bug here is not that the ELCR was reset to
zero, but that it was touched at all.

Our BIOS code should set the ELCR correctly (level-triggered)
for PCI IRQs.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-23 12:39:18 +01:00
Steven Smith 97cb77381a [HVM][VNC] Make sure that the vnc viewer gets the right resolution when it
connects.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-22 20:20:57 +01:00
Steven Smith 5e90e86402 Merge. 2006-09-22 17:59:02 +01:00
atse@norwich.uk.xensource.com 3918261f47 [XM][ACM] Add try,catch back to main() for dry-run
Signed-off-by: Alastair Tse <atse@xensource.com>
Signed-off-by: Bryan D. Payne <bryan@thepaynes.cc>
2006-09-22 17:46:32 +01:00