Commit Graph
14369 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 3a02a4cff8 hvm: Print bad DFR value for vlapic if a bad value is detected.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-14 11:22:59 +00:00
kfraser@localhost.localdomain bc510c7fd5 AMD HVM: Fix enter-realmode stub to initialise 32-bit GPRs.
This fixes booting Ubuntu live ISO, which assumes the upper half of
%esp is zero on entry.

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-14 11:09:13 +00:00
Tim Deegan 618d247ec8 add usb device save/restore in qemu
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2007-03-14 10:44:56 +00:00
Tim Deegan bf8fc36917 [HVM] Save/restore: more state propagation in xend
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-13 15:55:37 +00:00
kfraser@localhost.localdomain 60cf5b7783 xm: Allow vcpu-pin to specify 'all' for CPU list.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-03-13 14:56:03 +00:00
kfraser@localhost.localdomain 69461aa51d xen/x86: Tweak #PF handler. Simplify gdbstub copy to/from guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-13 14:04:31 +00:00
kfraser@localhost.localdomain 26e24b46d1 linux: No need to force pcibios_scan_all_fns() on modern Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-13 13:28:26 +00:00
kfraser@localhost.localdomain 1babae4d0c hvmloader: Avoid compile warnings char vs. unsigned char.
Avoid 'magic number' hardcoded string lengths.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-13 10:32:52 +00:00
Ian Campbell f4f4172c69 Update defconfigs for new XEN_COMPAT_300004 option.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-13 10:02:45 +00:00
kfraser@localhost.localdomain f4575fb04a [XM-TEST] vTPM test changes
Remove an uninitialized variable.
For some reason the 'ps aux' command does not see the process anymore
(since some time on the weekend). Need to add 'COLUMNS=n'.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-13 09:52:51 +00:00
kfraser@localhost.localdomain 3bd39c408e docs: update some todo items.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-13 09:52:11 +00:00
Ian Campbell f63d9525d5 [LINUX] Fix typo so 3.0.4 compatability works.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-03-13 09:07:55 +00:00
Tim Deegan cdc548f90c [HVM] Save/restore: update HVM detection in save/restore code in xend.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-12 18:04:04 +00:00
kfraser@localhost.localdomain 79ae7e51e1 linux: Adjust memory allocation condition in netback to reduce memory
pressure on Xen and avoid unnecessarily stalling receives.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-12 14:55:02 +00:00
kfraser@localhost.localdomain d96438b30a xen: Generic linear pagetable support for x86 PV guests.
Any linear mapping is permitted, except for L3-PAE-maps-L3-PAE,
which makes no sense even on native.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 14:52:11 +00:00
kfraser@localhost.localdomain 363f33fde2 x86: PAE linear page tables.
While full linear page table support makes little sense (and would be
more complicated to implement), partial linear page table support is
almost identical to that in non-PAE, and is used (at least) by NetWare.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-12 14:47:00 +00:00
kfraser@localhost.localdomain 415ecbe777 linux: No need to manually bring VCPUs online across 'fast' save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 14:11:43 +00:00
kfraser@localhost.localdomain a74bec1b38 xen: Set VGCF_online flag appropriately for getvcpucontext.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 14:11:07 +00:00
kfraser@localhost.localdomain d5cbf3ec58 x86: Add VGCF_onlien flag to vcpu_guest_context.
Change common Xen code to start all VCPUs (except idle ones)
offline. Change arch code to deal with this.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 13:53:43 +00:00
kfraser@localhost.localdomain 506e6d7f53 AMD HVM: Exit hvmloader via a normal jump-to-realmode code sequence.
Strip out all SVM-special hypercall code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 11:15:56 +00:00
kfraser@localhost.localdomain e260cd0a07 The Xen console intercepts ^O and prevents it from propagating
through to the guest.  However, ^O is a useful key in bash and in
Emacs.  This patch changes the console to pass a single ^O
through to the guest when it is pressed twice.

Signed-off-by: Ben Pfaff <blp@cs.stanford.edu>
2007-03-12 11:04:34 +00:00
kfraser@localhost.localdomain aca8807ff0 Fix valid_phys_addr_range() prototype of xen /dev/mem.
The second argument is size_t, not size_t *.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-12 11:03:07 +00:00
kfraser@localhost.localdomain d5788925b0 xen: Fix emulator to use default segment SS for ESP/EBP references.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-12 11:00:44 +00:00
Tim Deegan a63bbc175b [HVM] Remove debugging printout of BIOS boot vector
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-12 10:10:42 +00:00
Tim Deegan 9ad19a00bd [HVM] Speed up bulk p2m operations such as domain creation
by not flushing the shadows more often than is needed.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-12 09:44:34 +00:00
Ewan Mellor 1ad66bcd45 Fix typo in cset 14341:0affe03ee985 that broke migration.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-11 22:42:22 +00:00
Ewan Mellor 2cb49001bc Added an VM_HVM_REQUIRED error code, and use it on VM.start.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 23:22:00 +00:00
Ewan Mellor abc324d48f Replace VM.platform_{std_VGA,serial,localtime,clock_offset,enable_audio} with
a single VM.platform String -> String Map.

Propogate this change through to XendDomainInfo and image so that the
backwards compatibility is handled by XendConfig.

Make PCI_bus a read-write field.

Added C bindings for these changes also.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 21:48:22 +00:00
Ewan Mellor f7f8f5e39d Remove obsolete tpm_backend entry.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 21:43:07 +00:00
Ewan Mellor 9b9c64266b Fix VM.set_actions_after_{reboot,shutdown}.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 21:41:58 +00:00
Ewan Mellor e8943dc06d Fix "no such domain" error message from domain_lookup.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 20:20:24 +00:00
Ewan Mellor 0549b00834 Remove some excessive debug logging.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 20:18:17 +00:00
Ewan Mellor 6c6d5f75de Don't show the usage message for "domain does not exist" errors.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 19:57:35 +00:00
Ewan Mellor e07fd1a3da Improve xm shell tab completion.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 16:38:18 +00:00
Ewan Mellor 6eb3760aa8 Add vcpus_max and vcpus_at_startup values to the example VM creation.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 14:57:11 +00:00
Ewan Mellor 8d7dee0b2a Fix get_val_as_string so that it does not truncate integers.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 14:41:06 +00:00
Ewan Mellor c2bb72dfd1 Allow empty structs to represent empty Maps.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-10 14:16:52 +00:00
kfraser@localhost.localdomain 5da174817b xen ppc: Guests need the default 100Hz ticker.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-10 17:38:54 +00:00
kfraser@localhost.localdomain ac4fb3c4ec pci back: Various fixes.
- remove superfluous call to pciback_field_is_dup()
- fix a variable type mismatch in pciback_field_is_dup()
- make readability improvements by using the OFFSET macro
- revises quirk data output via the sysfs quirks node so that
- displayed offset information includes base_offset.

Thanks to Jambunathan K. for giving such specific bug diagnosis.

Signed-off-by: Chris Bookholt <hap10@tycho.ncsc.mil>
2007-03-10 17:01:21 +00:00
kfraser@localhost.localdomain dce5dbf051 Simple fix to the man page for xm block-attach.
It currently says to use "ro" or "rw" for the mode, when it seems,
empirically, to take "r" or "w" for the mode, respectively.  Update
the man page to reflect that.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
2007-03-10 16:59:57 +00:00
kfraser@localhost.localdomain 505ef3ea86 Add flags field to VCPUOP_set_singlsehot_timer.
Flag 'future' causes Xen to check if the timeout is in the past and
return -ETIME if so.
From: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-10 16:58:11 +00:00
kfraser@localhost.localdomain 04866d25fd xen: Fix VCPUOP_set_periodic_timer return value.
Clean up vcpu_op() code, and fix a couple of comments.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-10 16:22:52 +00:00
kfraser@localhost.localdomain 04710d73b0 linux: Use new time hypercalls.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-09 19:36:24 +00:00
kfraser@localhost.localdomain dbc6cbde50 xen: Debug 'q' key prints per-vcpu periodic timer info.
Do not enable periodic timer by default for HVM guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-09 19:34:52 +00:00
kfraser@localhost.localdomain 4a0790cf99 linux: fix build warnings
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-09 19:33:43 +00:00
kfraser@localhost.localdomain 4d42d7146c dump-core: store .xen_p2m or .xen_pfn section in pfn ascending order.
So far the order isn't specified and may be random in theory.
But sorted array is requested by crash utility for efficient search.

Fortunately it is the case except ia64 full virtualized domain.
Update document such that those array must be sorted and fix the ia64
full virtualized domain case.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-09 18:33:36 +00:00
kfraser@localhost.localdomain a5ca197fb5 xen/x86: add allocation success checks.
The necessary fix to arch_domain_create() was discovered by Gerd
Hoffmann, but apparently not submitted so far.

Also, adjust two error codes.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-09 18:32:20 +00:00
kfraser@localhost.localdomain bde87bfe0e linux: fix condition for entering tickless state
I noticed that timer interrupts were running at full rate regardless
of whether the system was idle.
softlockup_get_next_event() must return the maximum of zero and the
delta to the next event, not the minimum (which is always zero or
negative, yielding zero or a very large positive number as return
value).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-09 18:30:52 +00:00
kfraser@localhost.localdomain eb1a565927 xen: New vcpu_op commands for setting periodic and single-shot timers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-09 18:26:47 +00:00
kfraser@localhost.localdomain bc69003d96 Revert 14316 -- no need to fix maxvcpu domctl. 2007-03-09 18:26:22 +00:00