kfraser@localhost.localdomain
c082fcbec5
Xen 3.0.3 pre-pended all configuration prior to the user-specified
...
args in the boot cmdline. Restore this behaviour to fix
incompatabilities with fragile parsers in some domU kernels.
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-05 11:03:16 +00:00
kfraser@localhost.localdomain
71314211e9
Fix xend stop if we're run directly instead of via the caretaker parent.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-05 10:58:48 +00:00
kfraser@localhost.localdomain
7a0e89cd5b
[XEN] Add LEA to the Xen x86 emulator. Rename x86_emulate_memop() to
...
x86_emulate(), as the emulator now does more than emulation of
'special' memory accesses.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-05 10:55:55 +00:00
Ian Campbell
4bf9e7a7d0
merge
2007-01-05 10:40:19 +00:00
Ian Campbell
47fde3df04
[TOOLS] Fix typo in XenDomainInfo:device_configure.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-05 10:39:45 +00:00
kfraser@localhost.localdomain
2c67d503cb
[XEN] Add extra opcodes to emulator. Fix operand-size
...
computation for 64-bit PUSH/POP.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-05 10:38:48 +00:00
Alastair Tse
ab452d0667
[XEND] Fix block-list for dom0 in xm.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 16:42:44 +00:00
Alastair Tse
4b166e2a17
[XEND] Prevent exception if PIF does not have a network.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 16:34:19 +00:00
Alastair Tse
eddd713445
[XEND] Add VBD_MODE enum from XenAPI.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 16:31:29 +00:00
Alastair Tse
019793657b
[XEND] Default values for VBD mode and cpu_weight.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 16:30:20 +00:00
Alastair Tse
a089f6e2cd
[XEND] Only use DevController to generate SXP for running domains.
...
Otherwise the previous patch breaks managed domains in xm list.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 16:21:12 +00:00
kfraser@localhost.localdomain
3a1c98ecfb
[XEND] Allow arbitrary values for the vif 'type'.
...
Signed-off-by: David Edmondson <dme@sun.com >
2007-01-04 15:58:20 +00:00
Christian Limpach
a9aa1a0d29
[linux] Fix vsnprintf patch not to write null byte past the end of the buffer.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-04 15:50:08 +00:00
Alastair Tse
df7005672d
[XEND] Parse as much device SXP as possible.
...
Fix vtpm device check and xm list --long listing detached block devices.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 15:32:26 +00:00
Steven Hand
2ea27d8c99
[XM-TEST] Tweak 06_block-destroy_check_list_pos to allow more time to check
...
block device has gone away from point of view of domain sxp.
Signed-off-by: Steven Hand <steven@xensource.com >
2007-01-04 15:08:40 +00:00
Alastair Tse
b2bfd9596f
Switch hotplug scripts to use /bin/bash rather than /bin/sh.
...
Hotplug scripts include certain bash-isms that are not supported under
some distros' default shell (eg. Ubuntu 6.10's use of dash)
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 14:25:58 +00:00
Christian Limpach
7c6b36118d
[linux] Remove some gratuitous differences with plain 2.6.16.33.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-04 13:05:09 +00:00
Steven Hand
1033df9144
Make sure we always have a sensible idle function; this fixes problems
...
booting dom0 on AMD introduced by -unstable cset 13213:bf25488db8eb.
Signed-off-by: Steven Hand <steven@xensource.com >
2007-01-04 10:58:01 +00:00
kfraser@localhost.localdomain
b7e67b038f
[XEND] Fix allocation of fixed VNC ports.
...
From: MArk Williamson <mark.williamson@cl.cam.ac.uk >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-04 10:20:45 +00:00
kfraser@localhost.localdomain
5719e608b4
[XEN] Avoid use of GNU-specific memmem().
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-04 10:17:34 +00:00
kaf24@localhost.localdomain
72c07f4138
[XEN] Make labels _start,_end,_stext,_etext,_sinittext,_einittext generic.
...
Also sync the tools/symbol.c symbol table generator with Linux.
Make section names generic (e.e.g, .init.text, .init.data, ...).
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-03 23:53:27 +00:00
kfraser@localhost.localdomain
0550678b74
[LINUX] Implement the idle=poll option in the kernel when running on Xen.
...
This causes the kernel to use a polling loop rather than hypercall
down to block. I have found this useful to profile the amount of sleep
cycles when using xenoprof, there may be other uses.
Signed-off-by: Amitabha Roy <amitabha.roy@gmail.com >
2007-01-03 14:08:42 +00:00
Ian Campbell
49f1cd42a1
[IOEMU] Process reset requests before returning control to the guest.
...
Since 12899:4ae4bdee00e Xen only pays attention the first shutdown or
reboot request for a domain.
When a reset if requested we need to make the SCHEDOP_remote_shutdown
hypercall before we return control to the guest so that it wins the
"race" with the heuristic in xen/arch/x86/hvm/hvm.c:hvm_vcpu_down()
which causes a powerdown.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-03 13:55:53 +00:00
kfraser@localhost.localdomain
30bc7b0ff1
[LINUX] Build blktap as module named xenblktap.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-03 13:46:23 +00:00
Ewan Mellor
7f015ff4a5
Reset the option-parsing object before using it -- this means that the
...
option parsing works when using xm shell.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-02 14:46:13 +00:00
Ewan Mellor
55bf813209
Minor extra logging.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-02 14:45:32 +00:00
kfraser@localhost.localdomain
705e2697a0
Remove stray tabs.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-03 10:54:49 +00:00
kfraser@localhost.localdomain
d5810c67c1
[HVM][SVM] Triple faulkts (shutdown state) causes domain reset.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-03 10:53:45 +00:00
kfraser@localhost.localdomain
5c9548534e
[HVM] Add triple-fault handler (resets the domain).
...
Todo: How to hook this for SVM?
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-03 10:01:32 +00:00
Ian Campbell
3c4b2d4c00
[PV-on-HVM] blkfront: use %Lu instead of %llu to xenbus_gather.
...
The 'll' length modifier is not available with scanf (and therefore
xenbus_gather) on older kernel versions so use 'L' which is available at
least back to 2.6.5.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-02 14:19:47 +00:00
Ian Campbell
f46cd72592
Install hvm and arch-x86 subdirectories of xen/include/public
...
to /usr/include/xen.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-02 14:14:15 +00:00
Ewan Mellor
535e80fa87
Don't canonicalise the resource inside res_security_check if security is off.
...
This had broken use of relative paths to refer to ISOs etc.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-02 13:35:25 +00:00
Ewan Mellor
dba11d1f26
Fix the error handling in acm.policy.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-02 13:32:35 +00:00
Ewan Mellor
04c280baf7
Don't lose the image settings when rebooting domains. This fixes recent HVM
...
reboot problems -- we were passing 0 to shadow_mem_control, because Xend was
treating the domain as PV.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-02 13:04:01 +00:00
Tim Deegan
66e92e7a48
[HVM] Don't set the shadow allocation to zero if the dom is still shadowed.
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-02 10:57:50 +00:00
kaf24@localhost.localdomain
c21d85bf59
[HVM] Change VCPU->LAPIC_ID mapping so that VCPU0 has ID0.
...
This fixes booting of older x86/64 Linux kernels.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-31 12:26:42 +00:00
kaf24@localhost.localdomain
41eabc3d5c
[PV-ON-HVM] Update evtchn interface to match new PV Linux interfaces.
...
Also fix unbind_from_irqhandler() to close event-channel port where
that is appropriate.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-31 11:59:47 +00:00
kaf24@localhost.localdomain
47fad056d3
[LINUX] Extend the event-channel interfaces to provide helper methods
...
for creating interdomain event channels bound to IRQ handlers.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-30 18:23:27 +00:00
kaf24@localhost.localdomain
b8ca0e6839
[HVM] Rationalise OEM and Creator IDs and Table Revisions.
...
Create virtualised IDs and use them consistently.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-30 15:45:13 +00:00
kaf24@localhost.localdomain
c1619c568c
[HVM] Minor HPET fixes/ and cleanups.
...
In particular, the definition of HPET_TN_SIZE_CAP is wrong.
From: Dexuan Cui <dexuan.cui@intel.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-30 12:49:31 +00:00
Ewan Mellor
95fac2786b
Resurrect cset 13174:766eec31afab, with one fix -- pass the fallback flag to
...
gettext.translation so that this module works if the message database is
missing (it's still an optional part of the build).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-29 20:17:01 +00:00
Steven Hand
f8512e1c61
(temporarily) revert cset 13174:766eec31afab since it seems to break 64-bit;
...
a proper fix will arrive in the new year.
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 18:17:56 +00:00
Steven Hand
3dcbf823b3
Revert cset 13181:f087c013cf12 since the event channel is already unbound via
...
blkif_free() -> unbind_from_irqhandler() -> unbind_from_irq()
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 17:46:40 +00:00
kaf24@localhost.localdomain
8053a62d5a
Fix libxenstore library dependencies.
...
Signed-off-by: Mark Johnson <mark.johnson@sun.com >
2006-12-29 16:24:57 +00:00
kaf24@localhost.localdomain
e7a7e19187
Explicitly use GNU msgfmt on non-GNU systems.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-12-29 16:23:11 +00:00
kaf24@localhost.localdomain
cc56b92850
[SOLARIS] Fix xentop build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-29 16:17:53 +00:00
Steven Hand
7526489191
Minor clean ups to shadow logdirty peek / clean.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 14:25:03 +00:00
kaf24@localhost.localdomain
7467f810fc
[HVM] Fix HPET timer to support 8-byte accesses, erroneous updates
...
to read-only bits, etc.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-29 14:12:55 +00:00
Steven Hand
bcef756eb4
Remove unused #defines.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 13:02:19 +00:00
Steven Hand
c2bb666e08
Remove 'netbuf race' debug output - we get tons of these for ballooned
...
down domains, and there's no way for us to distinguish that from the
(transient) case of network buffers.
Also tidy up comment.
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 13:00:08 +00:00