Tim Deegan
5d0eb105b0
[HVM] Missing gva->gpa translation in MMIO MOVS handler
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-21 20:44:35 +00:00
Ewan Mellor
a72da7c894
Add a function for creating a domain from an existing XendConfig, and use that
...
on reboot, rather than writing out sxp and reparsing.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-21 17:39:32 +00:00
Ewan Mellor
0317e15cfc
More error codes.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-21 17:38:02 +00:00
kfraser@localhost.localdomain
2e9da9ee69
Create new public header directory for x86-specific definitions.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-21 16:20:11 +00:00
Alastair Tse
126fd46d21
[XEND] Xen API commands cleanup.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-12-21 14:49:19 +00:00
Alastair Tse
eb6c68c585
[XEND] Minor syntax cleanup in security.py for sxp parsing.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-12-21 14:33:37 +00:00
Ewan Mellor
78e2e56bdc
Implement the major part of the new error handling for the Xen-API.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-21 15:16:25 +00:00
Ewan Mellor
3f30d0805d
Document a few error codes.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-21 13:12:09 +00:00
Ewan Mellor
cc3b3deb34
Document recent changes to the booting API, introducing PV and HVM groups in
...
favour of the old kernel / BIOS sections.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-21 13:11:24 +00:00
kfraser@localhost.localdomain
f9396bbfe8
Improve consistency of type-attribute usage (volatile/const).
...
From: Christoph Egger <Christoph.Egger@amd.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-21 13:58:51 +00:00
Tim Deegan
015f6a2832
[XEN] Update comments to reflect cset 13059:6cbed96fedac
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-21 13:48:13 +00:00
Tim Deegan
95dae30a62
[QEMU] Align VGA ram allocation
...
This makes the SSE-optimized vram_dirty() safe again.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-21 13:43:19 +00:00
Alastair Tse
bbfa63024e
[XEND] Add cpu_weight and cpu_cap parsing for SXP config create
...
Reported by Masaki Kanno on :
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=835
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-12-21 12:08:27 +00:00
Alastair Tse
3f3404d127
[XM] Throw proper exception for xm console for unstarted domains.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-12-21 12:05:41 +00:00
kfraser@localhost.localdomain
e4caeac504
[HVM] Emulates HPET in hypervisor and extend ACPI tables.
...
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com >
Signed-off-by: Eddie Dong <eddie.dong@intel.com >
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com >
2006-12-21 12:05:34 +00:00
Christian Limpach
d158b8d4ec
[qemu patches] Update patches upto changeset 13113:fd1ccd818f2c.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2006-12-21 11:33:15 +00:00
kfraser@localhost.localdomain
47cde92b7d
[HVM][VMX] Save GS_SHADOW MSR only on x86/64.
...
Bug found by Kouya Shimura <kouya@jp.fujitsu.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-21 11:22:39 +00:00
kfraser@localhost.localdomain
a32030439b
[LINUX][IA64] New file swiotlb.h.
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-12-21 11:10:43 +00:00
kfraser@localhost.localdomain
878729b1cf
[QEMU] Include pthread.h.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-21 11:06:37 +00:00
Christian Limpach
05bc927f90
[qemu patches] Update patches upto changeset 13108:ed815cbdc90e.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2006-12-20 15:22:46 +00:00
kfraser@localhost.localdomain
0a967eccec
[XEN] Emulator extensions to decode ModRM.MOD == 3.
...
This allows emulation of register-only instructions.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-20 15:16:13 +00:00
Tim Deegan
c35c69faae
[XEN] Fix cset 13107:04c5f7b71ff4
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-20 13:54:04 +00:00
Tim Deegan
41b80617a9
[HVM] Mask cmpxchg8b capability in cpuid for non-pae guests
...
This allows non-PAE NT4 kernels to boot
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-20 12:07:10 +00:00
Tim Deegan
05d640922d
[XEN] Don't pass spurious fast-path faults to the guest at all.
...
Instead, retry and get a sensible fault from the hardware next time.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-20 12:04:38 +00:00
Tim Deegan
1128c254f3
[XEN] Clean up the shadow interface
...
Remove a lot of unneccesary things from shadow.h, and move the shadow lock
entirely inside the shadow code.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-20 12:03:07 +00:00
Tim Deegan
6f7ff73d57
[HVM] Add Etherboot option ROM, for network-booting HVM guests.
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-20 11:59:54 +00:00
Tim Deegan
15fbe9ca52
[HVM] Add expansion-ROM boot support to the ROMBIOS
...
This is rudimentary support for parts of the BIOS Boot Specification,
just enough to use Etherboot ROM images.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-20 11:57:53 +00:00
Tim Deegan
4858779208
[XEN] Skip shadowing of guest PTE writes when known to be safe
...
That is, when the guest replaces a not-present pte with another one
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-20 11:54:57 +00:00
Tim Deegan
2716d15280
[XEN] Better diagnostics of recursive shadow faults
...
Give a trace of the recursive fault instead of BUG()ing in the shadow handler.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2006-12-20 11:53:01 +00:00
kfraser@localhost.localdomain
27ea071e57
[NET] front: Fix interface teardown.
...
Original bug discovered and fixed by Glauber de Oliveira Costa
<gcosta@redhat.com >.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-20 11:39:22 +00:00
kfraser@localhost.localdomain
576a882bc5
[LINUX] dma: Use swiotlb mask for coherent mappings too
...
The recent change to use a default DMA bit width of 30 bits (required
by chips like the b44) only converted the streaming DMA primitives.
The coherent mappings are still hard-coded to 31 bits. This means
that b44 still doesn't work under Xen.
This patch makes the io_tlb_dma_bits variable global and uses it for
coherent memory mappings.
Thanks to Calvin Webster for providing a machine with a b44 and 2G
of memory I've been able to verify that this finally makes the b44
work under Xen.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
Rename 'io_tlb_dma_bits' to the more correct 'dma_bits'. This also
affects the name of the boot parameter, which is now 'dma_bits='.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-20 11:21:04 +00:00
kfraser@localhost.localdomain
3d17485a07
[LINUX] Disallow nested event delivery.
...
This eliminates the risk of overflowing the kernel stack and is a
reasonable policy given that we have no concept of priorities among
event sources.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-20 11:09:56 +00:00
kfraser@localhost.localdomain
f4944d7a66
[HVM] Sync per vcpu LAPIC timer with its TSC:
...
- benefits LAPIC calibration
- makes scheduling policy based on LAPIC more precise
- makes LAPIC timer code becomes simpler and cleaner after using
periodic time layer
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com >
2006-12-20 10:41:33 +00:00
kfraser@localhost.localdomain
ddc35d1cc9
[HVM] Enable more than one platform timer (PIT/RTC/HPET)
...
programmed as periodic timer and adds them to abstract layer, which
keeps track of pending_intr_nr to avoid time interrupt lost and
sync'ed timer with TSC.
It also makes some cleanup to the time related code.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com >
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com >
2006-12-20 10:37:23 +00:00
kfraser@localhost.localdomain
625141e5d7
[HVM][SVM] Modify the interrupt/event injection logic.
...
Resolves performance issues concerning AMD-V virtual interrupt/event
injection:
- Remove extra VINTRs vmexits, and only setup fake interrupt if intr
pending.
- Allow both event injection and interrupt injection concurrently in
vmcb.
Signed-off-by: Tom Woller <thomas.woller@amd.com >
2006-12-20 10:14:50 +00:00
kfraser@localhost.localdomain
db6dca73cd
[BLTAP] Use getpagesize() for portability.
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-12-20 10:11:45 +00:00
kfraser@localhost.localdomain
eef662ffdd
[HVM] Clean up CPUID handling.
...
From: Xin B Li <xin.b.li@intel.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-20 10:09:42 +00:00
kfraser@localhost.localdomain
a6c89ee595
[LIBXC] Fix iteration over GDT in save/restore code.
...
Bug spotted by Tim Wood.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-20 10:06:33 +00:00
kfraser@localhost.localdomain
e78916300f
Added tag 3.0.4-branched for changeset 057f7c4dbed1c75a3fbe446d346cee04cff31497
2006-12-20 09:48:21 +00:00
Julian Chesterfield
518df287df
Qcow-create reserve flag update.
...
Signed-off-by: Julian Chesterfield <julian@xensource.com >
2006-12-19 21:33:12 +00:00
Julian Chesterfield
9b27068f37
Qcow driver code cleanup:
...
- Remove global QCOW flags
- rename sparseness flag to -r fore 'reserve'
- Add ROUNDUP macro
- Check for qtruncate failures
Signed-off-by: Julian Chesterfield <julian@xensource.com >
2006-12-19 20:42:56 +00:00
Ewan Mellor
9dc2a309b5
Fix parsing of cpus in the guest configuration file.
...
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com >
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com >
3.0.4-branched
2006-12-19 12:00:11 +00:00
kfraser@localhost.localdomain
48ac736420
[XENOPROF] Fix buffer sharing with auto-translate guests.
...
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com >
2006-12-19 11:00:05 +00:00
kfraser@localhost.localdomain
32618ccbf5
Merge with xen-ia64-unstable.hg
2006-12-19 10:53:17 +00:00
awilliam@xenbuild2.aw
f4556d2362
merge with xen-unstable.hg
2006-12-18 10:56:34 -07:00
awilliam@xenbuild2.aw
5fb6147b15
[IA64] evtchn_callback fix and clean
...
Since we had changed to use event callback to deliver interrupts,
1. The pending_interruption is changed to pending_event.
2. get_ivr, set_tpr, get_trp and set_eoi are not used or only used
in the initialization phase. There is no need to write this code
in assembly. This code is deleted.
3. hyper_ssm_i needs to be rewritten to jump to entchn_callback_handler
instead of iva+0x3000 interrupt handler. I will do this later.
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2006-12-18 10:20:34 -07:00
awilliam@xenbuild2.aw
97e1ae7cfc
[IA64] Mask out reserved bits to avoid Reserved Register/Field faults.
...
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com >
2006-12-18 10:04:49 -07:00
awilliam@xenbuild2.aw
d16bdf4c1d
[IA64] Reflect general exceptions
...
General exceptions in the domU with isr.code > 0x20 are now reflected
to the domU.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com >
2006-12-18 09:48:23 -07:00
Ian Campbell
bab7d4e41b
[XEN] Revert 12977:af39d20b2b728941421ef18e5c5b1012852eec80
...
This changeset broke the ELF note layout on x86_64.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-18 16:11:19 +00:00
kfraser@localhost.localdomain
bffa67fd6c
[XEN] Only print progress dots when scrubbing actual memory.
...
Signed-off-by: Jes Sorensen <jes@sgi.com >
2006-12-18 14:38:38 +00:00