kfraser@localhost.localdomain
23834a2ffd
[HVM] fix save/restore on 64b HV
...
Enable hvm_ctxt ops for compat mode to fix HVM save/restore on 64b HV.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com >
2007-01-23 15:26:17 +00:00
kfraser@localhost.localdomain
49964796c7
x86: flush_tlb_mask() should take into account specified VA to flush
...
on local processor.
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com >
2007-01-23 15:14:45 +00:00
kfraser@localhost.localdomain
7bd46b4635
bimodal pvfb backend: Deal with both 32 and 64 bit frontends.
...
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2007-01-23 14:57:01 +00:00
kfraser@localhost.localdomain
7606be28a6
bimodal blkfront: Create a new node "protocol" in xenstore, add the
...
protocol name it speaks there.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2007-01-23 14:48:42 +00:00
kfraser@localhost.localdomain
c82ff605c7
bimodal: pvfb frontend
...
Create a new node "protocol" in xenstore, add the protocol name it
speaks there.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2007-01-23 14:47:26 +00:00
kfraser@localhost.localdomain
b43ce3d63f
bimodal: header file with protocol names.
...
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2007-01-23 14:45:41 +00:00
kfraser@localhost.localdomain
50f5003308
linux: Fix enable_irq() crash by removing a BUG_ON() assumption in our
...
event-channel retrigger() function. Also clean up bitmap usages.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-23 13:39:20 +00:00
Alastair Tse
54210714d5
[XM-TEST] Allow building of ramdisk on x86_64
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-23 11:39:32 +00:00
Ian Campbell
789f7fef04
[LINUX] Force .data segment to be 4k aligned on i386
...
by backporting git changeset c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4
This is required for kexec/kdump.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-23 09:31:32 +00:00
Alastair Tse
dc59dbf327
[XEND] Save model attribute for HVM VIFs
...
This solves the problem of HVM VIFs forgetting their model config on
reboot.
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=867
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-22 17:31:15 +00:00
Alastair Tse
c1e978c7cf
[XEND] Fix get_dev_property_by_uuid
...
This patch replaces calls to get_dev_property() by calls to
get_dev_property_by_uuid() in XenAPI.py and fixes the implementation
of get_dev_property_by_uuid.
I am adding a test case to the xapi grouptests to verify the fixes.
There's a FIXME note in the test case which should be looked at.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-01-22 17:23:53 +00:00
Ian Campbell
e22738def9
[PV-on-HVM] Make PV drivers on HVM kernels work on older kernels after
...
update to 2.6.18.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-22 17:10:27 +00:00
kfraser@localhost.localdomain
efa2dca17a
Fix failure to localise xm by preventing cd from writing to stdout
...
which gets incorrectly captured as a value for the bash for loop.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-22 17:07:16 +00:00
kfraser@localhost.localdomain
11f063545a
[PVFB] Set keyboard layout of PVFB from configuration file.
...
For example:
keymap = "ja"
Default remains en-us.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com >
Signed-off-by: Tomohiro Takahashi <takatom@tokyo.ssg.fujitsu.com >
Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com >
2007-01-22 16:27:03 +00:00
kfraser@localhost.localdomain
a7e0434e12
[PVFB] Support keymap localisation.
...
Conversion to the scan code uses QEMU's function.
Moreover, keyboard support for PVFB uses QEMU's keymaps.
Keyboard default layout is en-us.
Signed-off-by: Junko Ichino <ichino.junko@jp.fujitsu.com >
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com >
Signed-off-by: Hirofumi Tsujimura <tsujimura.hirof@jp.fujitsu.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2007-01-22 16:26:00 +00:00
kfraser@localhost.localdomain
39a368aba9
VTPM_TOOLS: Added support for QEMU to communicate with vTPM over UNIX
...
socket for HVM guests.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2007-01-22 15:59:41 +00:00
kfraser@localhost.localdomain
ccd7e15226
Put gdb version in a variable in gdbbuild script.
...
Signed-off-by: Xin Li <xin.b.li@intel.com >
2007-01-22 15:58:27 +00:00
kfraser@localhost.localdomain
525a723565
linux/i386: widen physical address range
...
32on64 supports 168Gb for 32-bit guests, hence at least 38 bits must
be specified here. The foreign frame bit is MFN bit 31, so the maximum
valid value here would be 43.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-22 15:57:19 +00:00
Ian Campbell
20fb14b71f
merge
2007-01-22 15:43:48 +00:00
kfraser@localhost.localdomain
44a156d31f
linux/i386: relax highpte pinning/write-protecting
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-22 15:42:13 +00:00
Ian Campbell
d50b445579
[XEN] Consolidate multiple defintions of ELFNOTE_* accessor macros
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-22 15:40:12 +00:00
Ian Campbell
2bdecd5382
[LINUX] Fix native build.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-22 15:31:27 +00:00
Ian Campbell
6e9515dab3
[XEN] Avoid void* arithmetic in kexec ELF note manipulations.
...
From: Christoph Egger <Christoph.Egger@amd.com >
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-22 15:29:04 +00:00
kfraser@localhost.localdomain
f4e8a7e419
Implement clean return from save/restore failure (so that original
...
domain can continue execution).
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com >
2007-01-22 15:15:32 +00:00
kfraser@localhost.localdomain
b6d2434d38
[SVM] Remove ASID logic. Errata prevent this feature being used
...
reliably in current SVM processor implementations.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-22 14:13:26 +00:00
Steven Hand
ce5ae920dd
Re-enable CONFIG_HOTPLUG_CPU by deafult for -xen? kernels.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2007-01-22 13:38:04 +00:00
Tim Deegan
7f39243d68
[PYGRUB] Plumb bootloader I/O through xenconsole.
...
- xend forwards console traffic between the running bootloader and a pty
which it writes to the store so the xenconsole client can see it.
- the xenconsole client handles the domain's console pty changing.
- xm create no longer runs the bootloader.
- pygrub gets '-i' option to explicitly request an interactive session.
- xend unlocks the domain list during bootloading so that "xm console"
can see the domain and attach to its console pty.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-22 11:49:14 +00:00
Tim Deegan
637851afee
[PYGRUB] Add python module for POSIX ptsname(2) function.
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-22 11:49:11 +00:00
Tim Deegan
5ba43a5774
[PYGRUB] Don't redraw the interactive menu screen if it doesn't need it.
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-22 11:49:05 +00:00
kaf24@localhost.localdomain
8b8c4769ed
Fix byte-to-long bitmap conversions.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-21 17:10:58 +00:00
kaf24@localhost.localdomain
08e6d14357
linux: Fix x86/64 build (which is failing on some systems).
...
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-01-21 16:29:18 +00:00
kaf24@localhost.localdomain
9b80096622
[LIBXC] Fix non-x86 build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-21 15:39:04 +00:00
Tim Deegan
2ba523af16
Unbreak 64bit build
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-20 14:33:43 +00:00
Tim Deegan
8d9254f862
[HVM] Save/restore cleanups 06: Let dom0 change domU's paging mode
...
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com >
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-20 11:40:52 +00:00
Tim Deegan
b39112fa0a
Merge
2007-01-20 11:21:08 +00:00
Tim Deegan
638ce29751
[HVM] Save/restore cleanups 05: save-format headers
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-20 11:17:42 +00:00
Tim Deegan
8d5fcfdfd2
[HVM] Save/restore cleanups 04: Move new domctls out of common code.
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-20 11:17:41 +00:00
Tim Deegan
7a04b0ca7e
[HVM] Save/restore cleanups 03: IRQ
...
IRQ, PIC, IOAPIC and LAPIC
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-20 11:17:40 +00:00
Tim Deegan
820c0c0735
[HVM] Save/restore cleanups 02: VCPU
...
Save/restore vcpu state therough the streaming interface
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-20 11:17:39 +00:00
Tim Deegan
3969aaf276
[HVM] Save/restore cleanups 01: PIT
...
Define public structure for the saved PIT data and use it instead
of a series of explicit loads and stores.
Don't save ephemeral Xen timer structs; rebuild them instead.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-20 11:17:38 +00:00
kaf24@localhost.localdomain
113ec86dd7
[XEN] Remove bogus include reference.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-19 23:53:54 +00:00
kfraser@localhost.localdomain
4b3b0d5ce5
[LIBXC] Refactor xc_domain_resume() into its own source file.
...
The idea is that this file is where we will have two implementations
of 'suspend cancellation': one which the guest is aware of (and is
faster) and the other which does more work to avoid requiring guest
modifications.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-19 18:32:28 +00:00
kfraser@localhost.localdomain
60cd679ba2
[XEN] Move hvm get/set domctl() commands to arch/x86/domctl.c.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-19 18:04:00 +00:00
kfraser@localhost.localdomain
61aaed0d58
Allow XS_INTRODUCE to be used for rebinding the xenstore evtchn.
...
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com >
2007-01-19 17:58:30 +00:00
kfraser@localhost.localdomain
bbb6a715dc
[XEN] Support VCPU reset via DOMCTL_setvcpucontext.
...
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com >
2007-01-19 17:55:29 +00:00
kfraser@localhost.localdomain
115209d91b
[XEN] New event-channel reset operation.
...
Plumbed through libxenctrl to python.
From: Andrei Petrov <andrei.petrov@xensource.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-19 17:20:57 +00:00
kfraser@localhost.localdomain
f272b20670
Add unsuspend hook for resuming devices in the checkpoint parent.
...
Nothing uses it at the moment.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-01-19 16:11:31 +00:00
kfraser@localhost.localdomain
931818cacb
Make xen_suspend handle resume.
...
Don't destroy xenstore watches on suspend, and only recreate them when
resuming in a new domain. Likewise, only invoke frontend device resume
code when in a new domain (the resume functions all tear down the
existing function and wait for the backend to negotiate a new one,
which does not happen in the source domain).
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-19 16:06:09 +00:00
kfraser@localhost.localdomain
6319682884
[XEN] Add missing change for XS_RESUME.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-19 15:36:54 +00:00
kfraser@localhost.localdomain
b686a7d235
xenstore: add XS_RESUME command; export it to xend.
...
This clears the shutdown flag for a domain in xenstore, allowing
subsequent shutdowns of the same domain to fire the appropriate
watches.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-01-19 15:28:34 +00:00