Commit Graph
14906 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 9d93b013ce hvm rombios: No need for SS prefix when EA base is %bp.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-24 13:49:11 +01:00
kfraser@localhost.localdomain 14b75336fa hvm rombios: Do not screw around with the PIT in the BIOS 32-bit
extensions. mdelay() can more easily be implemented by polling the
DRAM refresh bit in port 0x61. And this does not mess with state that
a guest may be relying on.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-24 12:14:57 +01:00
kfraser@localhost.localdomain 25ae564134 hvm rombios: Fix int15, func 0x86 (udelay).
Was reading argument from wrong stack location with recent versions of
bcc. Doing the access from [bp] rather than [sp] is safer as the
former does not change all the time.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-24 12:13:58 +01:00
kfraser@localhost.localdomain f629824b94 qemu: Do not kill ioemu if undefined LSI-SCI registers are read. Just
return zeroes. This path is triggered by ASPI8DOS.SYS in DRDOS.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-24 12:12:48 +01:00
Tim Deegan d2158ada29 [XEN] Truncate arithmetic for PERFSTATUS counters to the width of perfc_t.
Since these are all calculated per-cpu now, a status counter that is
incremented on one cpu and decremented on another will underflow on
the decrement.  When we add the per-cpu values to get the total, if
we don't truncate the sum it will be max-perfc + 1 instead of zero.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-04-24 11:39:13 +01:00
kfraser@localhost.localdomain 7f804c918c hvmloader: Fix e820_collapse() to not lose E820 entries.
Fixes bugzilla bug #971.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-24 10:34:47 +01:00
kfraser@localhost.localdomain c67b5e1fd5 vtpm: Decrease amount of pages on shared ring.
Decrease the amount of shared pages on the ring to only one page -
more is not needed.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-04-24 09:50:56 +01:00
kfraser@localhost.localdomain 2d460963b6 Don't bypass the spin_unlock at the end of do_domctl().
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-04-24 09:50:12 +01:00
kfraser@localhost.localdomain 6265f09192 kexec: Avoid unaligned writes when producing crash info.
The alignment of info is 32bits in line with the elf specification.
This means that on 64 bit architectures accessing it directly may
result unaligned access and a panic. I have been experiencing
this on IA64.

It seems that a simple approach of having an crash_xen_info_t on
the stack and simply memcopying it into info at the end alleviates
the problem.

Signed-off-by: Simon Horman <horms@verge.net.au>
2007-04-24 09:48:08 +01:00
kfraser@localhost.localdomain 348762501c xend: Incluide processing of 'monitor' config option in qemu-dm
cmdline processing.
Signed-off-by: Yongkang You <yongkang.you@intel.com>
2007-04-24 09:44:51 +01:00
Jake Wires 34cb794701 [TAPDISK] Move tapdisk control files from /dev/xen to /var/run/tap
Signed-off-by: Jake Wires <jwires@xensource.com>
2007-04-23 17:15:38 -07:00
Jake Wires c4f51da19f [TAPDISK] Use incremental cookies and fix blktapctrl::test_path parameter typo.
Signed-off-by: Jake Wires <jwires@xensource.com>
2007-04-23 15:37:53 -07:00
kfraser@localhost.localdomain 6937300952 netback: Copy skbuffs that are presented to the start_xmit() function
with a multi-page head buffer. The new skbuff will not have a
multi-page head buffer, which is a necessary restriction until this is
supported by the internals of the netback driver.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-23 16:37:03 +01:00
ewan@localhost.localdomain e969c5b9ee API version to 0.9.1.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-21 14:12:09 -07:00
ewan@localhost.localdomain f9eaf377bb Ignore the libxenapi tarball temp directory.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-21 12:43:25 -07:00
ewan@localhost.localdomain ef8c922a14 Added Makefile.dist, which can make standalone tarballs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-21 12:42:58 -07:00
ewan@localhost.localdomain e83be11595 Move all internal header files to a separate directory, so that it's clear what
forms the public API.  Tidy up a couple of macros in xen_internal.h.  Remove
test_hvm_bindings, which no longer builds, and which has had its functionality
subsumed into test_bindings.  Bump the library version to 0.9.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-21 12:21:06 -07:00
ewan@localhost.localdomain 5c8b4287a4 Added xen_session_clear_error.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-16 19:19:07 -04:00
kfraser@localhost.localdomain 83d7cbcd07 xenstored: Only dom0 can do XS_DEBUG in non-test environments.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-21 11:37:34 +01:00
Tom Wilkie edec108b06 Deprecate XendDomainInfo.state - now use _stateGet() to get the live
state of a domain.  Should still call _stateSet() to notify others
when you expect the state has changed.

Also some changes to locking in save/suspend, restore/resume and migrate

Passes xm-test against XenAPI...

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-20 17:56:28 +01:00
kfraser@localhost.localdomain d1672c6b39 Revert 14883:6568c1882af5 and 14862:98efd2e410ae.
This reverts the preparation for removing the sparse tree, since these
modified scripts are not yet ready:
 1. XENGUEST suffix was lost yet depended on still by sparse tree
 Makefiles (hacked around by 14883; also reverted).
 2. XEN_TARGET_X86_PAE default value seems to be ignored
 (out-of-the-box 'make dist' will build non-PAE kernels).

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-20 17:51:10 +01:00
Tim Deegan 4a80bb4ae3 [XEND] Fix test for when to record HVM VNC console as a VFB.
This code may still need more work to properly integrate HVM SDL consoles.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-04-20 17:32:30 +01:00
Steven Hand 6d799c5b57 Fix dist target to keep previous symlink format.
May be a cleaner fix which I'll let IanC do.

Signed-off-by: Steven Hand <steven@xensource.com>
2007-04-20 15:29:11 +01:00
kfraser@localhost.localdomain 4203bee974 Update README for correctness.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-20 14:04:32 +01:00
Keir Fraser f7ffac81ac hvmloader: Fix ROMBIOS highmem relocation. Only SHF_ALLOC sections
should be relocated. SHT_NOBITS must be handled properly (space
explicitly allocated and zeroed).
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-19 21:06:29 +01:00
Keir Fraser 0ae3a99437 Add "chk build" check that we've got xgettext since it's now required.
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
2007-04-19 19:32:10 +01:00
Keir Fraser 37b9dfbf71 [vtpm] Return a proper error when in the Xen-API call.
Fix a bug in the test.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-04-19 19:29:45 +01:00
Keir Fraser 856a272f35 [security] When building the binary policy align its contents the same way as the
ACM module does when returning its contents.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-04-19 19:29:19 +01:00
Keir Fraser e5baa1aa0c hvmloader: Simplify e820_malloc() interface and improve
implementation. Strip unnecessary sections from the highmem bios
extension elf image.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-19 19:22:12 +01:00
Keir Fraser a331230ece hvmloader: Tiny comment clarification. 2007-04-19 18:13:09 +01:00
Steven Hand 78c5a8881b Fix for bug introduced by cset 14859:a9aa7c29eda8 - implement IOREQ_TYPE_SUB
for intercepted mmio access too.

Signed-off-by: Steven Hand <steven@xensource.com>
2007-04-17 15:41:44 +01:00
kfraser@localhost.localdomain 2fe0ea05b4 Allow use of foo.local buildconfig overrides.
From: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-17 13:22:24 +01:00
kfraser@localhost.localdomain e30b0f0e5e netfront: use skb.cb for storing private data
Netfront's use of nh.raw and h.raw for storing page+offset is a bit
hinky, and it breaks with upcoming network stack updates which reduce
these fields to sub-pointer sizes.  Fortunately, skb offers the "cb"
field specifically for stashing this kind of info, so use it.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2007-04-17 13:21:22 +01:00
kfraser@localhost.localdomain a247b8c7db tools: Use INSTALL_{DIR,DATA} to install stuff.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-17 12:21:33 +01:00
James Bulpin bd9d988e80 Fix tools build
Signed-off-by: James Bulpin <james@xensource.com>
2007-04-17 12:01:00 +01:00
Tom Wilkie 0035808bef Add *.get_all_records to XenAPI, make use of this for xm list
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-16 22:58:12 +01:00
ewan@localhost.localdomain 5d44f92367 Added event dispatch when a VM's power state changes. Fix the host.enabled and
host.software_version definitions.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-16 17:02:52 -04:00
Tom Wilkie b2e625ed4e Add pot file, fix build
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-16 21:21:42 +01:00
ewan@localhost.localdomain 8426955edc Added documentation and C bindings for VM.migrate call.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-16 16:12:33 -04:00
ewan@localhost.localdomain f01fa26a0f Added host.enabled flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-16 16:10:39 -04:00
Tom Wilkie 1d4f277da8 Install dtd into correct place
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-13 16:54:03 +01:00
Tom Wilkie 7771ae57e8 Fix up locale strings for xm
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2007-04-13 16:46:41 +01:00
kfraser@localhost.localdomain 7584e4be28 hvm: Fix get_immediate() in mmio decoder by reverting Dexuan Cui's
change that breaks the case mod==0, rm==4, sib&7==5. That is,
disp32(scaled-index).
Also simplify get_immediate with sign extension.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-16 17:47:37 +01:00
Ian Campbell 2124081013 Factor out sparse tree makefile fragments and introduce an alternative hg-clone
method in preparation for migrating away from the sparse tree layout.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-04-16 17:38:37 +01:00
kfraser@localhost.localdomain 9e754796e1 hvm: Allow HVM guests to use sched_op() hcall on x86/64 Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-16 11:42:12 +01:00
kfraser@localhost.localdomain aa4b001985 xen x86: Fix PV guest destruction.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2007-04-16 11:36:40 +01:00
kfraser@localhost.localdomain a05c7f4103 hvm: Fix a bug in the mmio emulation of SUB instruction.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2007-04-16 11:35:58 +01:00
kfraser@localhost.localdomain c87744f312 Fix map_pages_to_xen() to atomically switch between valid mappings.
This is needed to successfully boot a debug=y build of xen on kvm.
Reported by Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-15 21:56:38 +01:00
Ewan Mellor 7371dd7b91 Added documentation, C bindings, and test for VM_metrics.VCPUs_flags.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-13 18:14:06 +01:00
Ewan Mellor 3bd8ff8dd1 Added documentation and C bindings for VBD. and VIF.runtime_properties.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-12 22:49:02 +01:00