Commit Graph
12688 Commits
Author SHA1 Message Date
Steven Smith e812bdf5c4 Merge. 2006-12-01 13:12:41 +00:00
Steven Smith 4ffdeb2ddc [PVFB][TOOLS] Don't unwatch the framebuffer frontend's state node just
because it want to state Closed.  Otherwise, we don't notice when
the node gets deleted, and can't reliably shut the backend down.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-12-01 13:11:53 +00:00
Ewan Mellor 7be5d5173c Set localtime, enable_audio, clock_offset, and std_vga back to being bools, not
ints.  This is a recent breakage.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-01 13:08:36 +00:00
Ewan Mellor 2f61385eed Added log message for when a VM is deleted.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-01 13:07:19 +00:00
Ewan Mellor c7a44ef04b Include the rotated xend.log.X in the bug report.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-01 13:06:15 +00:00
Steven Smith e9167464c4 [PVFB][TOOLS] Fix save/restore for domains with PV framebuffers.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-12-01 12:38:41 +00:00
Ewan Mellor 91e35907b2 Link test/test_bindings against libxenapi in the new location.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-01 12:24:42 +00:00
Steven Smith 4ae8d4056e [TOOLS][PVFB] Avoid zombie framebuffer backends.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-12-01 12:20:12 +00:00
Steven Smith f44748c2b6 [TOOLS] Remove some dead code.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-12-01 12:09:10 +00:00
Steven Smith becaa718c2 Merge. 2006-12-01 12:03:38 +00:00
Steven Smith 14dc449130 [PVFB] Make sure that framebuffer backend goes away when the domain
terminates, and that it cleans up its area of xenstore.

Tidy up argument parsing a little while I'm here.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-12-01 12:03:15 +00:00
kfraser@localhost.localdomain 43bcc64d99 [XEN] Quieten down HVM debug output.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-01 11:54:53 +00:00
Steven Smith 3c78f2e5d7 [LINUX] The removal of the console_use_vt hack was premature: it's still
required if CONFIG_VT is enabled but the domain isn't currently
configured to use the PV framebuffer.  Put it back in, in a slightly
more palatable form.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-12-01 11:52:33 +00:00
Steven Smith 6bebf0edee [PVFB][TOOLS] Change the configuration syntax for PVFB backends to more
closely match that of other devices.

This involves moving the logic for backend creation out of the image
handlers and in to the device handler, which is a much more sensible
place for it.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-12-01 11:49:30 +00:00
Ewan Mellor eb1eb71059 Tidy up the creation of directories that Xend needs. This avoids potential
races in this creation.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-01 11:32:32 +00:00
Alastair Tse d60a8ce29f merge 2006-12-01 11:08:34 +00:00
Alastair Tse bd8806fb71 [XEND] More fixes for HVM device configuration parsing
Removed duplicated acpi option, added missing stdvga option. Do not
output empty configurations in image sxp. Remove bug with vcpus
passing in device model.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-12-01 11:07:22 +00:00
kfraser@localhost.localdomain e4022aef8e [HVM] Add canonical address checks and generally clean up.
Based on a patch from Jan Beulich <jbeulich@novell.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-01 11:04:27 +00:00
Alastair Tse 515db7a43a [XEND] Fix missing serial and localtime args in device model for HVM
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-12-01 10:47:57 +00:00
kfraser@localhost.localdomain fefaf21f9d [XENOPROF] Fix oprofile for AMD SVM guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-01 09:59:56 +00:00
kfraser@localhost.localdomain f5bf5c9120 [HVM][VMX] Rename io.c -> intr.c.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-01 09:51:13 +00:00
Steven Smith a5ae44fcdf This is Anthony Liguori's virtual framebuffer forward ported and
extensively hacked based on feedback from xen-devel.

Its architecture is comparable to the common split device driver
architecture: xenfb and xenkbd modules serve as frontend in domU, and
the user space vncfb or sdlfb process serves as backend in dom0.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2006-12-01 09:48:32 +00:00
kfraser@localhost.localdomain 5ccf78fdd9 [HVM][VMX] Fix for CR8 acceleration on 64bit guest.
For current CR8 acceleration, we do not call update_tpr_threshold() at
every VMEXIT. But at some situations, we cannot inject guest
interrupts in time. And at some critical time, it will bring up a blue
screen to 64bit Windows guest.

Now, we select to call update_tpr_threshold() at very VMEXIT
time. It's safe, and we do not see clear performance downgrade so
far.

Signed-off-by: Xiaohui Xin xiaohui.xin@intel.com
2006-12-01 09:48:18 +00:00
Tim Deegan b4f5b27478 [XEN] Fix error paths in p2m insertion code
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-12-01 09:28:14 +00:00
Ewan Mellor 6a7c1b4ee0 Fix default for the authentication on the Xen-API server -- the default should
be PAM, not none!

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-30 20:16:54 +00:00
Ewan Mellor f99727ee65 Fix managed domain rebooting by only complaining about a VM name conflict if
the VM UUID conflicts as well.

Also, remove the previous_restart_time node when explicitly rebooting a guest --
the user ought to be able to drive reboots faster than the safety catch.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-30 20:07:58 +00:00
Ewan Mellor be61b6ee05 Fix registration on managed domains on xend restart.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-30 19:11:51 +00:00
Ian Campbell a0d286b852 [XEN] Only parse the crashkernel command line parameter once on boot
not each time it is requested.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-11-30 18:44:55 +00:00
Ian Campbell 5419258cad [XEN] Rename machine_shutdown to machine_reboot_kexec to better
reflect its purpose.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-11-30 18:44:54 +00:00
Ian Campbell fcd9174e64 [LINUX] Fix backward compatibility with hypervisors which do not support kexec.
Also do not rely on side effects in BUG_ON(x) -- use if(x) BUG() instead.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-11-30 18:21:50 +00:00
Ewan Mellor 69f4bf70a0 Fix HVM shutdown when xend is restarted.
Added a recreate call to ImageHandler, allowing the subclasses of that to
hook into the code that runs when xend restarts.  This allows us in particular
to reregister the watches for HVM shutdown, and read the PID of qemu-dm from
the store.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-30 18:08:34 +00:00
Ewan Mellor 9523b51469 Fix-up reference to name_label.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-30 18:05:19 +00:00
Ewan Mellor ac5ea23a6d Reinstate the reboot-feature code that was accidentally lost as part of the
merge in changeset 12189.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-30 17:28:51 +00:00
Ian Campbell 55b918302f [LINUX] Only initialise kexec in domain0.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-11-30 17:53:59 +00:00
kfraser@localhost.localdomain 2a7916e953 [QEMU] Do shift-key processing in QEMU monitor terminal when connected via VNC.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2006-11-30 17:47:50 +00:00
kfraser@localhost.localdomain 9cac7135b1 [LIBXC] Fix Solaris build: Use XC_PAGE_SIZE not PAGE_SIZE.
Signed-off-by: John Levon <john.levon@sun.com>
2006-11-30 17:36:03 +00:00
kfraser@localhost.localdomain f665678307 [LINUX] Properly trigger XenbusStateClosed in blkfront
In some situations, like when error happens in block attach for
a guest in dom0, backend send us XenbusStateClosing notification.
However, as frontend were never properly initialized, it fails
to change its own state to XenbusStateClosed, leaving the system
in a dead-end state.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
2006-11-30 17:34:48 +00:00
kfraser@localhost.localdomain 671ac0de22 [QEMU] usb-uhci: Data buffer is too small
The data buffer is only 1280 bytes long but the user-supplied length
can be as large as 0x7ff.  This patch extends the buffer to 2048
bytes.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-11-30 17:33:11 +00:00
kfraser@localhost.localdomain c669da88e2 [QEMU] Simpler workaround for guest writes to PCI config
space that extend past byte 0xff.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-30 17:32:16 +00:00
kfraser@localhost.localdomain 90f0b6ab3a [LINUX] Missing xenoprof.h header file for x86/64.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-11-30 17:27:00 +00:00
kfraser@localhost.localdomain 8e6abcd6da [XEN] Remove use of 'inline' on functions accessed via pointers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-30 17:24:18 +00:00
kfraser@localhost.localdomain 99bbc67f93 linux/x86-64: missing agp.h
This causes data corruption and/or crashes when AGP is actually used.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-11-30 17:21:52 +00:00
kfraser@localhost.localdomain 89f6444794 [MINIOS] Improved unbind_all_ports().
Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
2006-11-30 17:17:28 +00:00
kfraser@localhost.localdomain f446b44935 [XEN] Arch-specific softirq definitions.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-11-30 17:14:09 +00:00
kfraser@localhost.localdomain cffd8b0db8 [XEN] Proper segmentation emulation added to HVM emulated PTE writes.
Sigmed-off-by: Keir Fraser <keir@xensource.com>
2006-11-30 17:07:26 +00:00
Ian Campbell c04d106a58 merge 2006-11-30 16:36:18 +00:00
Ian Campbell 96d39d7654 [XEN] Do not spin at the end of machine_crash_kexec(). If there was no crash
image then we should return to the caller who will either restart the machine
as normal or continue on as appropriate.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-11-30 16:32:24 +00:00
Alastair Tse c016f643db [XEND] Fix HVM configuration parsing typo for certain cfg values.
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-30 15:41:35 +00:00
Alastair Tse 16651e108b [XEND] Catch TypeErrors when unexpected SXP is encountered.
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-30 15:19:01 +00:00
Alastair Tse 50453c47bc [XEND] Fix Xen API attribute access to be robust to missing keys.
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-30 14:53:14 +00:00