kfraser@localhost.localdomain
7379f53a09
hvm: Fix save/restore to handle missing pages.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-23 16:17:00 +00:00
kfraser@localhost.localdomain
2f40f165d6
hvm: unset_mm_mapping() for vga acceleration region should recalculate
...
maxmem setting before freeing memory!
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-23 16:16:36 +00:00
Tim Deegan
ae83184fe3
[HVM] Only treat gfns in known MMIO regions as MMIO
...
instead of assuming that all non-RAM addresses are MMIO
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-23 14:44:07 +00:00
kfraser@localhost.localdomain
80c79d9071
xen: Fix dumb boot allocator breakage that prevents loop termination
...
in some cases. :-)
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-23 14:36:33 +00:00
Emmanuel Ackaouy
81665f8e30
[XEN] [TOOLS] 32on64 compat save/restore: unadjust L3E flags at save time
...
Get rid of USER|RW|ACCESSED L3 PTE flags which may be present
in a PAE guest when running on a 64bit hypervisor at save time.
This prevents the restore operation from getting confused by
these flags.
Reset disallowed L3E flags to match PAE case.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com >
2007-02-23 12:58:20 +00:00
kfraser@localhost.localdomain
fc4c44d968
hvm: Clean up initialisation of hvm_funcs.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-23 11:32:25 +00:00
kfraser@localhost.localdomain
684c5a8948
Implement VBD and VIF handling on Solaris for libxenstat.
...
Also, fix up a confusion with ERR that was breaking xentop.
Signed-off-by: John Levon <john.levon@sun.com >
2007-02-23 10:47:55 +00:00
kfraser@localhost.localdomain
2b1b3844b2
linux: Fix current_vcpu_info for UP case
...
Under !CONFIG_SMP, smp.h is not always included and hence
smp_processor_id() not always visible.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-23 10:43:00 +00:00
kfraser@localhost.localdomain
aa700ae4e2
Merge with xen-ia64-unstable.hg.
2007-02-23 10:38:33 +00:00
kfraser@localhost.localdomain
66c10a7e53
hvm: Rename injection_pending() to event_injection_faulted().
...
Fix the VMX and SVM handlers to reflect the new semantics (which is
what is actually required by the one caller, in shadow fault path).
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-23 10:35:16 +00:00
Jake Wires
11e8d023ca
[TAPDISK] minor changes to tapdisk and plugins
...
* open all parent images read-only
* expose parent image names to tapdisk (needed for locking api)
Signed-off-by: Jake Wires <jwires@xensource.com >
2007-02-22 21:32:17 -08:00
kfraser@localhost.localdomain
22c07c8f80
x86/64: Fix a user of alloc_boot_pages() who should use
...
alloc_boot_low_pages() instead.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-22 22:27:40 +00:00
awilliam@xenbuild2.aw
a04aaff350
merge with xen-unstable.hg
2007-02-22 10:15:29 -07:00
awilliam@xenbuild2.aw
9637322fed
[IA64] First step to support big-endian PV domUs
...
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com >
2007-02-22 09:42:13 -07:00
kfraser@localhost.localdomain
6a20532c7b
alloc_boot_pages() allocates downwards from high memory.
...
This conserves low memory.
Provide new function alloc_boot_low_pages() for those callers who
actually require lowmem pages (e.g., below 4GB).
Based on a patch by Chris Lalancette <clalance@redhat.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-22 15:26:21 +00:00
kfraser@localhost.localdomain
92eb4bd779
x86: Detect shadow-emulate write to stack from inside the write
...
handler, where we can quite conveniently check whether the access
segment is SS. This will only give a false positive for non-stack
writes that override the destination segment to SS, which it is
probably safe to assume will never happen when the destination is a
legitimate page table!
For now, instead of bailing and unshadowing just increment a perfctr
and we'll see if that increases fast under any reasonable workload.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-22 15:22:16 +00:00
Tim Deegan
1df42b817a
Fix perfc=y build
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-22 14:58:26 +00:00
kfraser@localhost.localdomain
15130ac0dc
hvm: Turn stack-pointer comparison on shadow-emulate path into a
...
heuristic which we can allow to fail.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-22 13:03:49 +00:00
kfraser@localhost.localdomain
20b4aeb223
hvm: Do not take shadow-emulation path if we are trying to inject an
...
event into the HVM guest.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-22 12:49:44 +00:00
Tim Deegan
4af35bad43
[XEN] don't emulate stack operations on shadowed pages
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-22 12:21:29 +00:00
Jake Wires
88b9531ce0
[BLKTAP] fix sysfs cleanup on error case
...
Signed-off-by: Jake Wires <jwires@xensource.com >
2007-02-21 18:38:11 -08:00
kfraser@localhost.localdomain
8567b6718e
x86: Only unshadow on failed emulation, not when an exception is raised.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-21 20:30:37 +00:00
kfraser@localhost.localdomain
eac290c978
linux: Use hard tabs and Linux coding style.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-21 20:03:56 +00:00
kfraser@localhost.localdomain
fffb99beab
x86: Extend emulator return codes.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-21 19:58:58 +00:00
Jake Wires
5f7fc2a275
[BLKBACK/BLKTAP] add sysfs throughput profiling to blk{back/tap}
2007-02-21 11:42:04 -08:00
kfraser@localhost.localdomain
5a2ee478f4
hvm: local_events_need_delivery() must take into account VLAPIC/PIC status.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-21 19:12:16 +00:00
kfraser@localhost.localdomain
01beb86388
libfs: Fix build with gcc4.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-21 18:54:48 +00:00
kfraser@localhost.localdomain
87956dc5a1
Add find_domain_rcu_lock() and domain_rcu_unlock().
...
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-21 16:33:34 +00:00
kfraser@localhost.localdomain
c6c62d99d8
Use RCU for domain_list and domain_hash.
...
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-21 16:13:49 +00:00
Tim Deegan
39475b429d
Merge
2007-02-21 14:44:09 +00:00
kfraser@localhost.localdomain
a7eb758852
x86: Better BUG() and ASSERT() logging.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-21 14:40:37 +00:00
kfraser@localhost.localdomain
180211a753
x86: Allow exceptions to be handled while interrupts are
...
disabled. Handlers must take special care if necessary.
Fixes the debug 'd' key.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-21 10:13:40 +00:00
Ewan Mellor
b057b19321
Added C bindings for host.supported_bootloaders.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-21 00:04:59 +00:00
Ewan Mellor
6848a1622c
Fix allocation of the error_description fields.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-21 00:04:06 +00:00
Ewan Mellor
015c384bf9
Put the set size in the structure on set-allocation.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 23:59:13 +00:00
Ewan Mellor
160d895b13
Added host.supported_bootloaders field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:54:30 +00:00
Ewan Mellor
c24f2b2bec
Remove host.create and host.destroy -- these never made any sense.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:46:21 +00:00
awilliam@xenbuild2.aw
fafc90de8a
merge with xen-unstable.hg
2007-02-20 15:43:57 -07:00
Ewan Mellor
1a84dd141d
Added modelling and C bindings for VIF/VBD QoS parameter setting. No Xend
...
implementation yet.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:40:55 +00:00
awilliam@xenbuild2.aw
1d9600cfd1
[IA64] Update xencommize_mini_grant_table_op for GNTTABOP_query_size
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-02-20 15:12:11 -07:00
Ewan Mellor
fa4627735b
Split the VIF I/O statistics fields out into a VIF_metrics class. Implement
...
this in Xend, and fix the VBD_metrics implementation. Implement C bindings
also.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 21:55:11 +00:00
Ewan Mellor
d8d0f7d08c
Split the VBD I/O statistics out into a VBD_metrics class. Document the
...
VBD.type field, and add it to the C bindings (this was already in Xend).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 21:28:19 +00:00
awilliam@xenbuild2.aw
5a0cbf9162
merge with xen-unstable.hg
2007-02-20 12:58:22 -07:00
Ewan Mellor
c2592685ff
Added Console.other_config to the docs (Xend already has this).
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 19:38:24 +00:00
Ewan Mellor
cdbec983af
Rename Console.uri to location. Xend already uses the latter.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 19:23:28 +00:00
kfraser@localhost.localdomain
8d6da6a5f0
x86 emulation: fix bswap
...
REX.R needs to be decoded. Since it is simple to do, faster, and
smaller, let hardware do 32- and 64-bit BSWAP. 16-bite BSWAP is
undefined: emulate with observed behaviour (write zero).
Signed-off-by: Jan Beulich <jbeulich@novell.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-20 17:05:50 +00:00
kfraser@localhost.localdomain
fe30060046
x86: Fix emulation of REP prefix.
...
Firstly, it should be ignored when used with any opcode for which it
is undefined. Secondly, the count register (rCX) width depends on
address size.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-20 16:57:50 +00:00
Ewan Mellor
ada588411f
Remove VM.VCPUs_number and VM.VCPUs_utilisation as these have moved onto the
...
VM_metrics class. Remove VM_metrics.VM -- the backreference is unnecessary
and awkward to deal with.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 16:30:24 +00:00
Tim Deegan
de83482a55
Merge
2007-02-20 16:19:40 +00:00
Tim Deegan
cca5559356
[HVM] Another unchecked caller of hvm_copy_to_guest_virt()
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-20 16:18:56 +00:00