awilliam@xenbuild2.aw
318b012682
[IA64][BUILD] XEN_XKBUFF needs to depend on NET
...
Signed-Off-By: Simon Horman <horms@verge.net.au >
2006-12-14 08:54:54 -07:00
kfraser@localhost.localdomain
afd2aabff9
[XEN] Fix memory allocator after recent bootmem change.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 15:43:40 +00:00
kfraser@localhost.localdomain
23496e5afb
[TOOLS] A couple of check-script cleanups.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 15:12:38 +00:00
kfraser@localhost.localdomain
e93c545c97
[KEXEC] Clean up kexec code and fix panic-induced reboot when
...
kdump is not in use.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 15:06:22 +00:00
kfraser@localhost.localdomain
96134532ec
Add another package check (python-xml).
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2006-12-14 14:13:18 +00:00
Steven Hand
265f7f57f6
Fix deadlock when accessing IO memory.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-14 12:35:23 +00:00
kfraser@localhost.localdomain
65a186bbcb
[NET] front: Fix crashes when xenstore watches fire multiple times.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 12:21:28 +00:00
kfraser@localhost.localdomain
9161821234
[XEN] Boot allocator searches from earliest registered
...
memory region instead of 0.
Based on a patch from Jes Sorensen <jes@sgi.com > which
massively improves boot time on SGI Altix systems.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 12:02:30 +00:00
kfraser@localhost.localdomain
b1d71c83cc
[XM] Fix typo in 'xm vcpu-list' header.
...
Signed-off-by: Amos Waterland <apw@us.ibm.com >
2006-12-14 11:39:40 +00:00
kfraser@localhost.localdomain
7d613526dc
[XENFB] No need for IRQs to be disabled in critical regions.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 11:37:14 +00:00
kfraser@localhost.localdomain
b4439be6e5
[LINUX] Fix seg-fixup warning.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-14 11:09:27 +00:00
kfraser@localhost.localdomain
a2684bbb14
[XEN] Spot incorrect use of lXe_write & Co.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2006-12-14 10:49:54 +00:00
kfraser@localhost.localdomain
14118bd0a8
[LINUX] Fix build without CONFIG_HOTPLUG_CPU
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2006-12-14 10:32:38 +00:00
Ewan Mellor
62184014df
Set FD_CLOEXEC on the pidfile fd, so that tapdisk does not get it.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-14 10:31:31 +00:00
kfraser@localhost.localdomain
e6be7d74b9
Allow loading of ELF kernel images that support both PAE and non-PAE.
...
Also change the elf loader to not look for a strings section unless it
is needed.
Signed-off-by: Bruce Rogers <brogers@novell.com >
2006-12-14 10:29:44 +00:00
Ewan Mellor
f39983e1f6
Hack xm block-detach to remove tap disks as well as vbds.
...
This isn't very pretty -- a better solution would be nice.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-13 20:43:47 +00:00
kfraser@localhost.localdomain
70efc627d2
[Xend] Add a --force option to detach operations.
...
In some situations triggered by errors found on guest side,
the device will be held forever, due to the online flag being still
on. Detach operations mostly fails from this point on, as the backend
will not see frontend's state change anymore.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com >
2006-12-14 10:17:37 +00:00
kfraser@localhost.localdomain
2267ec4e4a
Fix typos in the external-device migrate script.
2006-12-14 10:01:17 +00:00
kfraser@localhost.localdomain
49f6907f34
[XEND] Activate a declared external device migration script for all devices and all save modes.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2006-12-14 10:00:56 +00:00
Emmanuel Ackaouy
c1c2224094
[XEN] Improve scheduler cap mechanism
...
Somewhat unbastardize the scheduler cap mechanism. We now cleanly
pause and unpause running VCPUs of capped out domains instead of
using sub-idle priorities. This also improves the precision of
caps a bit.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com >
2006-12-13 16:13:26 +00:00
George Dunlap
17465295e1
[XEN] Make TRC_MEM's bits unique.
...
Signed-off-by: George Dunlap <gdunlap@xensource.com >
2006-12-13 10:20:20 -05:00
awilliam@xenbuild2.aw
5c9f520da5
merge with xen-unstable.hg
2006-12-12 15:25:02 -07:00
awilliam@xenbuild2.aw
7a34fca2d8
[IA64] Fix typo : npte not defined
...
new_pte is what we want here.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com >
2006-12-12 15:23:51 -07:00
jfehlig@jfehlig2.provo.novell.com
336be6552e
When enumerating VMs resident on a host (Host.get_resident_VMs RPC), ensure VMs with same UUID only appear once in the list.
...
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2006-12-11 13:07:20 -07:00
jfehlig@jfehlig2.provo.novell.com
379e2ea7a9
Allow adding VIF devices to a VM when in halted state. Do not attempt to create the VIF device if VM is in halted state.
...
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2006-12-12 15:28:23 -07:00
Ewan Mellor
0a85a374e0
Steal the write_pidfile function from xenstored_core, and use it to ensure
...
that blktapctrl only starts once.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-13 11:23:01 +00:00
Ewan Mellor
c053617142
Check return of new_domain inside dom0_init, avoiding segfault if there is
...
a second instance of xenstored running (and we're using different pid files).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-13 11:13:08 +00:00
kfraser@localhost.localdomain
88008890d4
[XEN] Remove unnecessary shadow_mode_refcount() code from PV mm code.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-11 15:06:53 +00:00
Ian Campbell
c4644b811d
[BUILDER] Enable shadow mode for shadow translate guests much earlier.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-11 11:57:36 +00:00
kfraser@localhost.localdomain
5eb892022a
[NET] back: Atomic buffer allocations use __GFP_NOWARN.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-11 09:56:02 +00:00
Ewan Mellor
3fdae5e58f
Tidy error message.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-09 19:24:46 +00:00
Ewan Mellor
75e4e9bd32
Implement xen_vm_set_vcpus_number,
...
xen_vm_{add,remove}_vcpus_features_force{on,off}.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-09 17:16:52 +00:00
kaf24@localhost.localdomain
1daf5e293b
[XEN] Shadow-mode-refcount PTE update fix.
...
Add back in support for emulated PTE updates which is critical for
shdow_refcount operation.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-09 16:29:52 +00:00
kaf24@localhost.localdomain
5334214feb
pygrub tmp files should live in /var/run/ not /var/lib/, as they are
...
indeed runtime only.
Also fix a race condition in making the pygrub fifo.
Signed-off-by: John Levon <john.levon@sun.com >
2006-12-09 15:04:27 +00:00
kaf24@localhost.localdomain
74d9fdb147
Merge with xen-ia64-unstable.hg
2006-12-09 14:34:53 +00:00
Christian Limpach
a456fc7666
[qemu patches] Update patches upto changeset 12814:c3ad3fcfe3.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2006-12-08 18:37:19 +00:00
awilliam@xenbuild2.aw
8f83b7e2ea
[IA64] avoid freeing arch.privregs twice
...
Not sure how this worked before, but mapping vcpu regs into
guest pseudo phys space causes extra problems.
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-12-08 11:31:29 -07:00
Christian Limpach
2802359071
[qemu patches] Update patches upto changeset 12756:1d32fb45e0.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2006-12-08 18:31:01 +00:00
awilliam@xenbuild2.aw
4f4e5dd93d
[IA64] change XEN_DOMCTL_getmemlist to return gmfn instead of mfn
...
This patch tries to get 'xm dump-core' work on ia64 again.
With this patch, 'xm dump-core' results in creating core-dump file
as before with a slight format changes.
(machine address array -> pseudo physicall address array)
However xm dump-core has been broken on ia64 since
XEN_DOMCTL_getmemlist/ia64 is differenct from x86's.
This patch does NOT fix it.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2006-12-08 09:32:15 -07:00
john.levon@sun.com
1dd304690d
xm block-attach can take an optional 5th argument, show it in the help.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-12-08 07:22:21 -08:00
kfraser@localhost.localdomain
9eafa32f48
[LIBXC] Make strerror() thread-safe by protecting it with a mutex.
...
Using strerror_r() is made difficult by the different GNU definition,
and different distros variously choose the POSIX or GNU prototype.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-08 15:59:30 +00:00
Alastair Tse
e2bfc5ae07
[XEND] Keep vif IP addresses as space separated string.
...
They were inconsistently represented as strings or lists making it
difficult to know the type of the IP parameter for vifs. Since both xm
and DevController represents these as space separated strings, that is
what it will be stored as.
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-12-08 13:31:21 +00:00
Alastair Tse
781b258bf0
[XEND] Make sure UUID is in the right format.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2006-12-08 13:28:22 +00:00
kfraser@localhost.localdomain
b65f717688
[LIBXC] Clean up use of sterror(). Define a thread-safe
...
version which uses strerror_r(), and tries to cope with
the POSIX and GNU versions of that function.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-08 11:57:06 +00:00
Ian Campbell
c720eb6ab7
[LINUX] Kexec: Remove remainder of kexec-generic.patch
...
Rename xen_machine_kexec() to just machine_kexec() and only compile in
the Xen or native version as appropriate.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-08 11:47:09 +00:00
Ian Campbell
69f0c953b4
[LINUX] Kexec: Reapply kexec patches to sparse tree.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-08 11:47:09 +00:00
Ian Campbell
24a9aad534
[LINUX] Kexec: add kexec files to sparse tree.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-08 11:47:09 +00:00
Ian Campbell
5a4af387e3
[LINUX] kexec: remove patches which are not straight backports.
...
Their contents will be added to the sparse tree in a subsequent patch.
Changes to kernel/sys.c in kexec-generic.patch remain for now. These
will be taken care of in a later patch.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-08 11:47:09 +00:00
Ian Campbell
e793ba7d4e
[LINUX] Kexec: Do not bug if a kexec hypercall fails.
...
This is non fatal since we can recover and boot without kexec
functionality.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-12-08 11:46:48 +00:00
kfraser@localhost.localdomain
43ff8f0aef
[XEN] Implement XENMEM_set_memory_map, which specifies memory map to
...
be returned by XENMEM_memory_map. Hook this into the domain builder.
Based on a patch by Glauber de Oliveira Costa <gcosta@redhat.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-08 11:30:30 +00:00