Alastair Tse
e8d1d26031
[XEND] Strip suffix from device name and add support for 'VBD.type'
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-24 12:07:54 +00:00
Christian Limpach
badba3ddde
[linux] Disable GENERIC_TIME until we have a xen clocksource.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-01-24 12:02:56 +00:00
kfraser@localhost.localdomain
a3dc5328a3
Fix crash if some secondary CPUs cannot be initialised.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-24 11:04:22 +00:00
kfraser@localhost.localdomain
539471abbe
[QEMU] Clear TD status field explicitly when it's fetched.
...
In current Qemu-dm, UHC will set some status bits of TD in status
updating stage, but never process the status bit if relevant condition
does not occur, leaving it as it is. When a TD is fetched with some
status bits are set to 1, it will return to Guest OS with these bits
set to 1 even this TD is executed successfully. Some Windows OS,
e.g. Windows 2000, will check status bits of TD in UHC interrupt
routine, treat it as a unsuccessful one if some status bits are set to
1 and discard the data. Other Windows OS just check USBSTS of UHC,
ignoring status field of TD unless the value of USBSTS indicates
occurrence of error.
With this patch, USB mouse/tablet in Windows 2000 works correctly.
Signed-off-by: Xinmei Huang <xinmei.huang@intel.com >
2007-01-24 10:44:32 +00:00
kfraser@localhost.localdomain
d32128e96e
bimodal blkback: Support multiple ring protocols.
...
This is needed for 32-on-64 support. Right now there are three
protocols: native, x86_32 and x86_64. If needed it can be extended.
Interface changes (io/blkif.h)
* Define the x86_32 and x86_64 structs additionally to the native
version.
* Add helper functions to convert them requests to native.
Backend changes:
* Look at the "protocol" name of the frontend and switch ring
handling accordingly. If the protocol node isn't present it
assumes native protocol.
* As the request struct is copied anyway before being processed (for
security reasons) it is converted to native at that point so most
backend code doesn't need to know what the frontend speaks.
* In case of blktap this is completely transparent to userspace, the
kernel/userspace ring is always native no matter what the frontend
speaks.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2007-01-24 10:38:17 +00:00
kfraser@localhost.localdomain
91421c3cf0
Fix error message in network-bridge script.
...
From: Luke Crawford <lsc@prgmr.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-24 10:22:06 +00:00
kfraser@localhost.localdomain
a3fb2cebf9
libxenguest: Fix xc_resume() build for non-x86.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-24 10:18:44 +00:00
kfraser@localhost.localdomain
7e7d92bea4
Add BSD-style license to top of hvm_op.h public header file.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-24 10:15:34 +00:00
john.levon@sun.com
95d3856e97
Close save-after-restore race.
...
Make xc_linux_save() wait for the frame_list_list MFN to be updated by the
domain before trying to use it. Make Linux set the top-level MFN /after/
updating the other MFN lists.
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-23 19:06:31 -08:00
kfraser@localhost.localdomain
1fd75e7150
[LIBXC] Provide weak stub default implementations of xc_hvm_save() and
...
xc_hvm_restore() for architectures with no full implementation.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-23 15:58:05 +00:00
kfraser@localhost.localdomain
1ac5e8ece3
linux: Make resend_irq_on_evtchn() non-static for ia64 use.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-23 15:54:12 +00:00
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