]>
xenbits.xensource.com Git - qemu-xen-3.4-testing.git/log
Ian Jackson [Mon, 9 Jun 2008 14:59:11 +0000 (15:59 +0100)]
Merge xenstore.c's block device handling to compile with new qemu.
We manipulate drives_table rather than the old bs_table.
The media change functionality is more complicated and is currently
broken so I have #if'd it out.
Ian Jackson [Mon, 9 Jun 2008 10:51:45 +0000 (11:51 +0100)]
suspend_requested -> xen_pause_requested; use shutdown_requested()
Ian Jackson [Mon, 9 Jun 2008 10:43:15 +0000 (11:43 +0100)]
s3_shutdown_flag needs external linkage
Ian Jackson [Fri, 6 Jun 2008 17:04:11 +0000 (18:04 +0100)]
Fix for vga_save_dpy_resize (vga_screen_dump) prototype wrt linesize etc.
Patch kindly supplied by Stefano Stabellini.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Ian Jackson [Fri, 6 Jun 2008 17:02:31 +0000 (18:02 +0100)]
Compile xenfb.c for DM.
Ian Jackson [Fri, 6 Jun 2008 16:52:47 +0000 (17:52 +0100)]
provide i440fx_init_memory_mappings (stub)
Ian Jackson [Fri, 6 Jun 2008 16:50:45 +0000 (17:50 +0100)]
Provide cpu_physical_memory_write_rom (just calls ..._write)
Ian Jackson [Fri, 6 Jun 2008 16:48:14 +0000 (17:48 +0100)]
Need to compile some of loader.c too
Ian Jackson [Fri, 6 Jun 2008 16:40:24 +0000 (17:40 +0100)]
stub out vmmouse_init function for Xen DM
Ian Jackson [Fri, 6 Jun 2008 16:38:04 +0000 (17:38 +0100)]
Need to actually compile vga.c.
Still one outstanding problem, which is that
vga_save_dpy_resize has the wrong prototype.
Ian Jackson [Fri, 6 Jun 2008 16:27:31 +0000 (17:27 +0100)]
Remove a few spurious "extern"s in .c files
Ian Jackson [Fri, 6 Jun 2008 16:05:04 +0000 (17:05 +0100)]
stub out various monitor functions for Xen DM
Ian Jackson [Fri, 6 Jun 2008 16:01:12 +0000 (17:01 +0100)]
Get rid of pt_uninit.
This is a remaining fragment of xen-unstable c/s
17058:
1cb8d51b4d77aba99890b909bf16a01dc3dbcb2a
ioemu: Fix the build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Ian Jackson [Fri, 6 Jun 2008 15:47:56 +0000 (16:47 +0100)]
No gdbstub in Xen DM
Ian Jackson [Fri, 6 Jun 2008 15:45:02 +0000 (16:45 +0100)]
Make direct pci config string a qemu option
Ian Jackson [Fri, 6 Jun 2008 15:28:00 +0000 (16:28 +0100)]
Provide ldl_phys et al.
We implement these in the Xen DM case as simple unoptimised wrappers
around cpu_physical_memory_write.
Several were copied directly from this qemu upstream commit:
commit
aab33094073678d459ccaac5c60ea7533e8d1d8e
Author: bellard <bellard@
c046a42c -6fe2-441c-8c8c-
71466251a162 >
Date: Sun Oct 30 20:48:42 2005 +0000
more physical memory access functions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1587
c046a42c -6fe2-441c-8c8c-
71466251a162
I handwrote the others in the same pattern.
Ian Jackson [Fri, 6 Jun 2008 15:16:43 +0000 (16:16 +0100)]
Make exec-dm.c compile in the new world.
Ian Jackson [Thu, 5 Jun 2008 14:36:30 +0000 (15:36 +0100)]
Compile monitor.c but with #undef TARGET_I386
Ian Jackson [Wed, 4 Jun 2008 17:17:20 +0000 (18:17 +0100)]
Correct prototype for dpy_resize_shared (fix up merge damage)
Ian Jackson [Wed, 4 Jun 2008 17:14:41 +0000 (18:14 +0100)]
Update to xen-unstable 17737 plus ds->resize_shared vs. ds_resize
This one commit contains two substantial sets of changes:
* All changes from xen-unstable from 17647 to 17737:
c93a913c221f
* Shared display buffer API revamp
Patch from Stefano Stabellini <stefano.stabellini@eu.citrix.com>, to
do shared display buffer stuff with a different (backward-compatible)
API which avoids having to change all of the other display hardware
models. Stefano tells me this patch is likely to break stubdom in
its current state.
The commit is the result of applying Stefano's patch to xen-unstable
hg 17737, then running hg diff -r17647 tools/ioemu, applying the
output to the git tree with patch, and fixing up the conflicts (which
were easy).
To make future merges easier, I have included Stefano's patch rebased
to 17737 (the result of hg diff -r17737 from the above hg tree) here,
so that the base point for a future merge to a new xen-unstable tip is
easy to recreate.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Ian Jackson [Wed, 4 Jun 2008 15:45:54 +0000 (16:45 +0100)]
Compilation exclusions - now we just have undefined references
Ian Jackson [Wed, 4 Jun 2008 15:43:19 +0000 (16:43 +0100)]
Compilation fixes - helper2.c compiles now
Ian Jackson [Wed, 4 Jun 2008 15:39:35 +0000 (16:39 +0100)]
Add includes for xenstore.c for now.
We plan to get rid of xenstore.c, but for now to get helper2.c to
compile I've copied the declarations for functions in xenstore.c from
xen-unstable 17737:
c93a913c221f .
Ian Jackson [Wed, 4 Jun 2008 15:34:48 +0000 (16:34 +0100)]
More complication and #include fixes.
Including some more ia64-specific stuff copies from xen-unstable
tip 17737:
c93a913c221f
Ian Jackson [Wed, 4 Jun 2008 15:13:51 +0000 (16:13 +0100)]
Header file and argument order fixups for xen_machine_{fv,pv}.c
Includes copying some declarations from vl.h in xen-unstable
from c/s 17737:
c93a913c221f .
Ian Jackson [Tue, 3 Jun 2008 14:41:44 +0000 (15:41 +0100)]
More exclusions from libqemu.a
Ian Jackson [Tue, 3 Jun 2008 14:30:38 +0000 (15:30 +0100)]
move OBJS manipulation into xen-hooks.mak
Ian Jackson [Tue, 3 Jun 2008 13:51:09 +0000 (14:51 +0100)]
Fix up #includes
Ian Jackson [Tue, 3 Jun 2008 13:44:09 +0000 (14:44 +0100)]
Compilation fixups for Xen piix4acpi (piix4_pm_init)
Includes change to pc.c to cope with lack of i2c bus, which is not
offered to HVM guests.
Ian Jackson [Mon, 2 Jun 2008 16:18:19 +0000 (17:18 +0100)]
#include "sysemu.h", since vl.h is gone
Ian Jackson [Mon, 2 Jun 2008 16:16:00 +0000 (17:16 +0100)]
Sort out includes for xen_blktap.c
Ian Jackson [Mon, 2 Jun 2008 15:56:18 +0000 (16:56 +0100)]
Compilation fixes for leftovers from merge
Ian Jackson [Mon, 2 Jun 2008 14:55:05 +0000 (15:55 +0100)]
blacklist apic.c - not for xen
Ian Jackson [Mon, 2 Jun 2008 14:52:35 +0000 (15:52 +0100)]
#include "exec-all.h" for logfile
Ian Jackson [Mon, 2 Jun 2008 14:51:27 +0000 (15:51 +0100)]
Transplant {set,unset}_mm_mapping from xen-unstable.
These were in vl.c, introduced in the giant qemu 0.8.1 commit
which is xen c/s 10673:
b450f21472a0574fbc382f2f84ea0a8295aa6423 .
They versions transplanted here were from xen-unstable tip
as of 17737:
c93a913c221f .
Ian Jackson [Mon, 2 Jun 2008 14:37:15 +0000 (15:37 +0100)]
Initialise vga_ram_addr to 0.
This is not used in the Xen case. In xen-unstable NULL is passed
directly in the calls to the various vga_init functions; in this
version we set vga_ram_addr to 0 as that's textually a smaller change.
Ian Jackson [Mon, 2 Jun 2008 14:22:06 +0000 (15:22 +0100)]
Post-merge compilation fixes and adjustments for pc initialisation (hw/pc.c)
Ian Jackson [Mon, 2 Jun 2008 13:11:20 +0000 (14:11 +0100)]
add missing argument to cpu_x86_init
Ian Jackson [Mon, 2 Jun 2008 13:10:59 +0000 (14:10 +0100)]
#if out cpu_smm_update, not relevant for xen (hopefully)
Ian Jackson [Mon, 2 Jun 2008 13:08:10 +0000 (14:08 +0100)]
cast some things to size_t before printing them (sadly maybe not 64-bit clean?)
Ian Jackson [Mon, 2 Jun 2008 11:06:19 +0000 (12:06 +0100)]
Compilation fix: dm i8259 does not use opaque at all
Ian Jackson [Mon, 2 Jun 2008 11:02:17 +0000 (12:02 +0100)]
Combine common code in serial_init and serial_mm_init into serial_init_core.
This also allows us to revamp serial_mm_init so that it initialises
our newer driver, merged with xen-unstable.
Ian Jackson [Mon, 2 Jun 2008 11:00:11 +0000 (12:00 +0100)]
Remove spuriously merge-duplicated serial_mm_init
Ian Jackson [Mon, 2 Jun 2008 10:47:42 +0000 (11:47 +0100)]
Remove spuriously merge-duplicated serial_mm_{read,write}[bwl]
Ian Jackson [Mon, 2 Jun 2008 10:41:14 +0000 (11:41 +0100)]
Compilation fixes - leftover stuff from merge
Ian Jackson [Mon, 2 Jun 2008 10:21:25 +0000 (11:21 +0100)]
Fix up broken comparison left over from merge
Ian Jackson [Mon, 2 Jun 2008 10:20:34 +0000 (11:20 +0100)]
CHR_IOCTL_SERIAL_{GET,SET}_TIOCM
Remaining fragments of xen-unstable c/s
16537:
bf21e00155b7dd76653c5340099ecedac7a7de08
[QEMU-DM] Modem control line & msl/mcr register support.
This patch enables handling of the modem/flow control lines of a
serial port when the backend for the virtual port is a physical serial
port. During initialization, it tries to load the msr with the
detected status from the real port (this is consistent with physical
uart, which starts with its msr values set according to the status of
the modem status lines). If the ioctl returns -ENOTSUP, then the code
assumes the backend is not a real serial port and will disable any
further attempts to manipulate or read the physical port's line
status.
It's tries to be as "correct" as possible in its msr/msl handling,
with the exception of modem line status change interrupts. A real
16550 uart apparently have a delay time of 250ns between when a modem
status line changes and the IRQ line goes high. In this patch, an
"idle" port is polled for line status changes only if the guest has
enabled UART_IER_MSI is enabled, and only polled every 10 ms.
Signed-off-by: Trolle Selander <trolle.selander@gmail.com>
Ian Jackson [Mon, 2 Jun 2008 10:12:42 +0000 (11:12 +0100)]
Remove merge-duplicated dma_phony_handler
Ian Jackson [Fri, 30 May 2008 17:01:30 +0000 (18:01 +0100)]
build system more sanity ...
Ian Jackson [Fri, 30 May 2008 16:49:01 +0000 (17:49 +0100)]
xs_wire.h needs errno.h
Ian Jackson [Fri, 30 May 2008 16:48:47 +0000 (17:48 +0100)]
Do not use dyngen.c in dyngen rule; leads to trouble with *.d
Ian Jackson [Fri, 30 May 2008 16:44:04 +0000 (17:44 +0100)]
more build system nonsense
Ian Jackson [Fri, 30 May 2008 16:29:57 +0000 (17:29 +0100)]
Remove erroneously duplicated code
Ian Jackson [Fri, 30 May 2008 16:29:38 +0000 (17:29 +0100)]
Add some #includes
Ian Jackson [Fri, 30 May 2008 16:29:21 +0000 (17:29 +0100)]
qemu have a slightly different coding style
Ian Jackson [Fri, 30 May 2008 16:25:53 +0000 (17:25 +0100)]
No need to call pci_e100_init since it's pci_i8255*_init in upstream
Ian Jackson [Fri, 30 May 2008 16:20:21 +0000 (17:20 +0100)]
#include missing hw/pci.h
Ian Jackson [Fri, 30 May 2008 16:18:08 +0000 (17:18 +0100)]
Enable HVM guest VT-d device hotplug via a simple ACPI hotplug device model.
Finish merge of remaining parts of xen-unstable c/s
17056:
c6eeb71a85cffe917bc8d6738fd36e6694dba4d6 :
Enable HVM guest VT-d device hotplug via a simple ACPI hotplug device model.
** Currently only 2 virtual hotplug pci slots(6~7) are created so more
than 2 vtd dev can't be hotplugged, but we can easily extend it in
future.
Three new commands are added:
"xm pci-list domid" show the current assigned vtd device, like:
VSlt domain bus slot func
0x6 0x0 0x02 0x00 0x0
"xm pci-detach" hot remove the specified vtd device by the virtual
slot, like:
xm pci-detach EdwinHVMDomainVtd 6
"xm pci-attach DomainID dom bus dev func [vslot]" hot add a new vtd
device in the vslot. If no vslot specified, a free slot will be picked
up. e.g. to insert '0000:03:00.0':
xm pci-attach EdwinHVMDomainVtd 0 3 0 0
** guest pci hotplug
linux: pls. use 2.6.X and enable ACPI PCI hotplug ( Bus options=> PCI
hotplug => ACPI PCI hotplug driver )
windows: 2000/xp/2003/vista are all okay
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Ian Jackson [Fri, 30 May 2008 16:07:31 +0000 (17:07 +0100)]
PCI passthrough merge completion
Remaining parts of xen-unstable c/s
15891:
acfa9290746f9c00e30dca7a62e9f7a96702b3b5 :
PCI passthru: tools changes (generic and vt-d)
I have added CONFIG_PASSTHROUGH in ioemu/Makefile.target and
ioemu/hw/pc.c in attached vtd_tools2.patch. This should turn off
libpci usage by default until user specifically enables it.
This can be safely check-in without breaking builds for people who do
not care about pass-through devices. I will try to think of a better
way to enable this.
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Signed-off-by: Guy Zana <guy@neocleus.com>
Ian Jackson [Fri, 30 May 2008 11:11:18 +0000 (12:11 +0100)]
Reuse most of configure-generated config
Ian Jackson [Thu, 29 May 2008 16:59:02 +0000 (17:59 +0100)]
remove spurious #if
Ian Jackson [Thu, 29 May 2008 16:54:07 +0000 (17:54 +0100)]
fix up more broken merge results for vncunused patch
Ian Jackson [Thu, 29 May 2008 16:53:48 +0000 (17:53 +0100)]
provide default gui refresh value
Ian Jackson [Thu, 29 May 2008 16:46:37 +0000 (17:46 +0100)]
add gui_timer to DisplayState as in upstream
Ian Jackson [Thu, 29 May 2008 16:42:39 +0000 (17:42 +0100)]
move case QEMU_OPTION_vncunused to right spot (undo merge damage)
Ian Jackson [Thu, 29 May 2008 16:38:49 +0000 (17:38 +0100)]
add size string parameter to text_console_init - currently ignored by our fork of the code :-/
Ian Jackson [Thu, 29 May 2008 16:02:30 +0000 (17:02 +0100)]
remove duplicate definition of CONFIG_DM
Ian Jackson [Thu, 29 May 2008 16:00:19 +0000 (17:00 +0100)]
build system fixes to build i386-dm
Ian Jackson [Thu, 29 May 2008 15:57:15 +0000 (16:57 +0100)]
disable if CONFIG_DM
Ian Jackson [Thu, 29 May 2008 15:57:05 +0000 (16:57 +0100)]
set CONFIG_DM
Ian Jackson [Thu, 29 May 2008 15:06:50 +0000 (16:06 +0100)]
sdl_display_init takes four args
Ian Jackson [Thu, 29 May 2008 15:03:26 +0000 (16:03 +0100)]
declare domain_name and domid (via new config-host.h appendery)
Ian Jackson [Thu, 29 May 2008 14:52:28 +0000 (15:52 +0100)]
declare ds->dpy_colourdepth
Ian Jackson [Thu, 29 May 2008 14:50:44 +0000 (15:50 +0100)]
VncReadEvent funcs take a uint8_t* not a char*
int protocol_xxx(/*...*/) in vnc.c
Ian Jackson [Thu, 29 May 2008 14:47:57 +0000 (15:47 +0100)]
console_color_init => set_color_table like in qemu upstream
Ian Jackson [Thu, 29 May 2008 14:45:21 +0000 (15:45 +0100)]
Add ds->idle in console.h and sdl.c
A few lost fragments of xen-unstable changeset
17607:
3b20e543b52d40f76525a7e918fa347af2de00fe
pvfb/ioemu: transmit refresh interval advice from backend to frontend
which permits the frontend to avoid useless polls.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Ian Jackson [Thu, 29 May 2008 14:39:25 +0000 (15:39 +0100)]
Add vncunused option.
Remaining fragments of xen-unstable c/s
10998:
bd04004865ba70a67fb797733ad1452d6b19b971
If the port used for the requested display number is in use, try
additional ports until a free port is found.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Ian Jackson [Thu, 29 May 2008 14:23:10 +0000 (15:23 +0100)]
Provide qemu_advance_timer.
This is a fragment of the following changeset from xen-unstable:
11562:
449dcaff25513813da8bcda94ffc85f3f14c5857
[HVM][VNC] Add a backoff feature to the vnc server, so that if it detects
that the display hasn't changed for a while it starts scanning more slowly.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Ian Jackson [Thu, 29 May 2008 14:22:18 +0000 (15:22 +0100)]
bring timer arrangments into line with qemu upstream
Ian Jackson [Thu, 29 May 2008 14:03:56 +0000 (15:03 +0100)]
Disable curses in our manual config, too
Ian Jackson [Thu, 29 May 2008 14:03:07 +0000 (15:03 +0100)]
Add i386-dm/config.mak to gitignore
Ian Jackson [Thu, 29 May 2008 14:01:59 +0000 (15:01 +0100)]
Disable curses for xen; protect xen-* configs from configure by removing links
Ian Jackson [Thu, 29 May 2008 13:58:02 +0000 (14:58 +0100)]
make DisplayState match xen-unstable better
Ian Jackson [Wed, 28 May 2008 16:09:36 +0000 (17:09 +0100)]
keycode_is_shiftable is static inline like in upstream
Ian Jackson [Wed, 28 May 2008 14:42:52 +0000 (15:42 +0100)]
#include <assert.h>
Ian Jackson [Wed, 28 May 2008 14:42:36 +0000 (15:42 +0100)]
keyfooIsThing => keyfoo_is_thing - upstream naming conventions
Ian Jackson [Wed, 28 May 2008 14:41:47 +0000 (15:41 +0100)]
keyfooIsThing => keyfoo_is_thing - upstream naming conventions
Ian Jackson [Wed, 28 May 2008 14:39:32 +0000 (15:39 +0100)]
Correct #includes for vnc.c
Ian Jackson [Wed, 28 May 2008 13:50:04 +0000 (14:50 +0100)]
compilation fixes to usb-hid queueing
Ian Jackson [Wed, 28 May 2008 13:40:06 +0000 (14:40 +0100)]
declare console_ch_t as now needed
Ian Jackson [Wed, 28 May 2008 13:37:46 +0000 (14:37 +0100)]
Take text_update argument to graphic_console_init, although we do not use it at the moment
Ian Jackson [Tue, 27 May 2008 15:25:34 +0000 (16:25 +0100)]
Use symlink for xen config.mak
Ian Jackson [Tue, 27 May 2008 15:24:44 +0000 (16:24 +0100)]
Find XEN_ROOT more properly
Ian Jackson [Tue, 27 May 2008 15:24:14 +0000 (16:24 +0100)]
WIP new xen build arrangments
Ian Jackson [Tue, 27 May 2008 15:23:12 +0000 (16:23 +0100)]
Remove duplicate copy of bdrv_aio_flush
Ian Jackson [Tue, 27 May 2008 13:46:08 +0000 (14:46 +0100)]
Merge branch 'master' into xen
Ian Jackson [Tue, 27 May 2008 13:34:18 +0000 (14:34 +0100)]
Remove duplicated qemu_{malloc,free} and get_mmap_addr.
Related to apparently incomplete merge of:
commit
ca10f86763f58b7b3667e2ca7d26db3dc810eb20
Author: aurel32 <aurel32@
c046a42c -6fe2-441c-8c8c-
71466251a162 >
Date: Fri Apr 11 21:35:42 2008 +0000
Remove osdep.c/qemu-img code duplication
(Kevin Wolf)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4191
c046a42c -6fe2-441c-8c8c-
71466251a162
Ian Jackson [Fri, 23 May 2008 17:43:52 +0000 (18:43 +0100)]
Merge branch 'master' into xen
Ian Jackson [Fri, 23 May 2008 17:43:43 +0000 (18:43 +0100)]
Merge branch 'iwj.block-rw-rangecheck'
Ian Jackson [Fri, 23 May 2008 17:43:27 +0000 (18:43 +0100)]
Fix COW extendability for vulnerability fix.
(Thanks to report from Daniel Berrange.
Corresponds to my email to xen-devel of 2008-02-27
Subject: Re: [Xen-devel] [PATCH] ioemu block device extent checks.)