]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/log
qemu-xen-4.0-testing.git
16 years agoHonour -DNO_AIO.
Ian Jackson [Tue, 15 Jul 2008 17:36:40 +0000 (18:36 +0100)]
Honour -DNO_AIO.

Based on a patch by Samuel Thibault.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
16 years agoNew --disable-audio configure option.
Ian Jackson [Tue, 15 Jul 2008 17:19:28 +0000 (18:19 +0100)]
New --disable-audio configure option.

This disables all audio support including drivers and -DHAS_AUDIO.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
16 years agoDo not try to use -net user as a default when slirp disabled.
Ian Jackson [Tue, 15 Jul 2008 16:35:57 +0000 (17:35 +0100)]
Do not try to use -net user as a default when slirp disabled.

Patch from Jeremy Fitzhardinge <jeremy@goop.org> (who is a Citrix
staff member).

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
16 years agoWith --disable-gcc-check, do not produce spurious errors if no GCC3 at all.
Ian Jackson [Tue, 15 Jul 2008 16:15:12 +0000 (17:15 +0100)]
With --disable-gcc-check, do not produce spurious errors if no GCC3 at all.

Small patch thanks to Prashanth.Mundkur@citrix.com.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
16 years agoMerge branch 'iwj.block-rw-rangecheck' into qemu
Ian Jackson [Wed, 2 Jul 2008 17:38:26 +0000 (18:38 +0100)]
Merge branch 'iwj.block-rw-rangecheck' into qemu

16 years agoqemu-xen: Fix extendable images iwj.block-rw-rangecheck
Ian Jackson [Wed, 2 Jul 2008 17:38:07 +0000 (18:38 +0100)]
qemu-xen: Fix extendable images

bdrv_file_open should specify raw image format instead of
guessing. This fixes a segfault when bdrv_open2 wants to access
drv->flags. bdrv_file_open is used at least by qcow2.

Additionally, move the extensible flag from bdrv_host_device to
bdrv_raw. qcow2 wants to open the image file as an extensible file.

Signed-off-by: Kevin Wolf <kwolf@suse.de>
16 years agoRemove duplicated qemu_{malloc,free} and get_mmap_addr.
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

16 years agoMerge branch 'iwj.block-rw-rangecheck'
Ian Jackson [Fri, 23 May 2008 17:43:43 +0000 (18:43 +0100)]
Merge branch 'iwj.block-rw-rangecheck'

16 years agoFix COW extendability for vulnerability fix.
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.)

16 years agoFix qemu unchecked block read/write vulnerability
Ian Jackson [Fri, 23 May 2008 17:40:47 +0000 (18:40 +0100)]
Fix qemu unchecked block read/write vulnerability

(Patch as from my email to qemu-devel on 2008-02-19, merged with
 current qemu upstream head.)

16 years agoMerge branch 'iu.pci-bus-save-load'
Ian Jackson [Fri, 23 May 2008 17:26:28 +0000 (18:26 +0100)]
Merge branch 'iu.pci-bus-save-load'

16 years agoSend unit_attention on cd-rom not_ready to ready transition
Ian Jackson [Mon, 19 May 2008 15:21:52 +0000 (16:21 +0100)]
Send unit_attention on cd-rom not_ready to ready transition

Patch sends a UNIT_ATTENTION(6), MEDIUM_MAY_HAVE_CHANGED(0x28) sense
when cdrom transitions from not ready to ready.

I used the following documentation:
 ATA Packet interface for CD-ROMS, SFF8020i.pdf. See state diagram Figure
 12, page 82 and Table 44 -recommended Sense Key, ASC

With patch in place HVM win2008 server guest sees the CD/DVD contents
have changed when the media is switched.

Signed-off-by: Pat Campbell <plc@novell.com>
16 years agopci.c: restore bus-level pci interrupt state via pci_set_irq
Ian Jackson [Fri, 16 May 2008 16:04:57 +0000 (17:04 +0100)]
pci.c: restore bus-level pci interrupt state via pci_set_irq

This change abolishes pcibus_save.  Instead we use an invariant - that
device interrupts are supposed to be reflected in the bus interrupt
state - to restore the bus interrupt state.

This makes the code smaller and removes one way in which a savefile
could be corrupted (eg, if it had been generated by a buggy emulator).

It also means that systems which do some of their own PCI bus
emulation and thus reflect PCI bus state elsewhere (eg CPU acclerators
such as Xen) get notified of the PCI bus interrupt level, via
pci_set_irq's call to bus->set_irq.

16 years agoregister_savevm etc.: make save function optional
Ian Jackson [Fri, 16 May 2008 16:01:12 +0000 (17:01 +0100)]
register_savevm etc.: make save function optional

This allows a device to provide only a loading function, not a saving
function.

This is useful if a later version of an emulation restores its state
in some other way (eg by having a different device name, or by
exploiting invariants in the state); when this happens it is still
necessary to load or skip the information when it is found in old
savefiles.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
16 years agoMerge branch 'origin'
Ian Jackson [Wed, 14 May 2008 13:45:40 +0000 (14:45 +0100)]
Merge branch 'origin'

Conflicts:
hw/ide.c
hw/pc.c
loader.c
osdep.c
osdep.h
qemu-common.h
(All easily resolved.)

16 years agoFix loading of binary ROMs
blueswir1 [Tue, 13 May 2008 15:44:10 +0000 (15:44 +0000)]
Fix loading of binary ROMs

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4452 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix compiler warning.
ths [Tue, 13 May 2008 14:35:34 +0000 (14:35 +0000)]
Fix compiler warning.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4451 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCRIS: Improve TLB management and handle delayslots at page boundaries.
edgar_igl [Tue, 13 May 2008 10:59:14 +0000 (10:59 +0000)]
CRIS: Improve TLB management and handle delayslots at page boundaries.
* Dont flush the entire qemu tlb when the $pid changes. Instead we go through
  the guests TLB and choose entries that need to be flushed.
* Add env->dslot and handle delayslots at pageboundaries.
* Remove some unused code.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4450 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agocompilation fix
bellard [Mon, 12 May 2008 22:55:35 +0000 (22:55 +0000)]
compilation fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4449 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agouse new helper name
bellard [Mon, 12 May 2008 22:05:33 +0000 (22:05 +0000)]
use new helper name

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4448 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted more helpers to TCG
bellard [Mon, 12 May 2008 22:05:13 +0000 (22:05 +0000)]
converted more helpers to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4447 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoremoved unused code
bellard [Mon, 12 May 2008 22:03:14 +0000 (22:03 +0000)]
removed unused code

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4446 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFPU fixes
bellard [Mon, 12 May 2008 20:30:28 +0000 (20:30 +0000)]
FPU fixes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4445 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted x87 FPU ops to TCG
bellard [Mon, 12 May 2008 19:10:44 +0000 (19:10 +0000)]
converted x87 FPU ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4444 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMove prototype back to avoid a compiler warning
blueswir1 [Mon, 12 May 2008 17:59:14 +0000 (17:59 +0000)]
Move prototype back to avoid a compiler warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4443 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove most uses of phys_ram_base (initial patch by Ian Jackson)
blueswir1 [Mon, 12 May 2008 17:22:13 +0000 (17:22 +0000)]
Remove most uses of phys_ram_base (initial patch by Ian Jackson)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4442 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoconverted SSE/MMX ops to TCG
bellard [Mon, 12 May 2008 16:47:36 +0000 (16:47 +0000)]
converted SSE/MMX ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4441 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoWrap long lines
blueswir1 [Mon, 12 May 2008 16:13:33 +0000 (16:13 +0000)]
Wrap long lines

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4440 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agouse TCG for MMX/SSE memory accesses
bellard [Mon, 12 May 2008 13:55:27 +0000 (13:55 +0000)]
use TCG for MMX/SSE memory accesses

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4439 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agotemporary hack to handle register shortage with dyngen for qemu_st64()
bellard [Mon, 12 May 2008 13:49:14 +0000 (13:49 +0000)]
temporary hack to handle register shortage with dyngen for qemu_st64()

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4438 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago2.6 kernels make int 5 a trap gate
bellard [Mon, 12 May 2008 12:23:31 +0000 (12:23 +0000)]
2.6 kernels make int 5 a trap gate

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4437 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agochar is only for strings
bellard [Mon, 12 May 2008 12:08:29 +0000 (12:08 +0000)]
char is only for strings

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4436 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agothe double/triple fault handling was not tested in user mode.
bellard [Mon, 12 May 2008 12:04:40 +0000 (12:04 +0000)]
the double/triple fault handling was not tested in user mode.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4435 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoremoved unused code
bellard [Mon, 12 May 2008 12:00:46 +0000 (12:00 +0000)]
removed unused code

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4434 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoDo not duplicate prefix on SCSI write flush failures.
Ian Jackson [Wed, 2 Apr 2008 16:28:22 +0000 (17:28 +0100)]
Do not duplicate prefix on SCSI write flush failures.

BADF adds scsi-disk so we should not add scsi-disc.

16 years agoide write_cache disablement implemented using bdrv_aio_flush
Ian Jackson [Wed, 2 Apr 2008 16:23:13 +0000 (17:23 +0100)]
ide write_cache disablement implemented using bdrv_aio_flush

Previously our implementation of the cache flush for ide disks with
write_cache disabled was synchronous.  This is less than ideal.

16 years agoadvertise write cache enabled when it is
Ian Jackson [Wed, 2 Apr 2008 15:28:10 +0000 (16:28 +0100)]
advertise write cache enabled when it is

Advertise device status word 85 bit 5 (write cache enabled) only when
it is.  Adapted from a related patch for xen-unstable from Samuel
Thibault.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
16 years agoSCSI FLUSH CACHE: make asynchronous and handle errors
Ian Jackson [Tue, 1 Apr 2008 17:12:56 +0000 (18:12 +0100)]
SCSI FLUSH CACHE: make asynchronous and handle errors

16 years agoMove raw_aio_flush to where it gets compiled.
Ian Jackson [Tue, 1 Apr 2008 17:11:58 +0000 (18:11 +0100)]
Move raw_aio_flush to where it gets compiled.

16 years agoide write_cache saving compile fixes
Ian Jackson [Tue, 1 Apr 2008 17:03:37 +0000 (18:03 +0100)]
ide write_cache saving compile fixes

The qemu branch of this code has slightly different saving arrangments
to xen-unstable so we have to do things this way to make it compile.

16 years agoPerform emulated IDE flushes asynchronously.
Ian Jackson [Fri, 28 Mar 2008 16:54:09 +0000 (16:54 +0000)]
Perform emulated IDE flushes asynchronously.

We arrange for the WIN_FLUSH_CACHE and WIN_FLUSH_CACHE_EXT
commands to use a new bdrv_aio_flush facility.

If there is an error, the ATA-7 spec says that we are supposed to know
which is the first block whose flush failed and leave that in the
block offset registers.  However since we are using f(data)sync that's
not possible for us.  There is sadly no way for us to report the error
which won't encourage the guest to try to understand what went wrong
and then do the flush again expecting the remaining blocks to be
written (as specified by ATA-7).

So if the asynchronous flush fails, we kill the disk by detaching
->bs.  This makes it vanish: we don't generate any more interrupts,
leave status set to busy, and ignore future commands (and discard any
in-flight IO).  Alan Cox reports that this will probably induce the
best available behaviour in guests (retry for a while and then give
up).  Fine-grained error reporting is available if the guest turns off
the write cache.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Modified-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
16 years agoMove WIN_SETFEATURES 0x02 and 0x82 write_cache manipulation to correct place
Ian Jackson [Fri, 28 Mar 2008 09:36:36 +0000 (09:36 +0000)]
Move WIN_SETFEATURES 0x02 and 0x82 write_cache manipulation to correct place

Thanks to Paul Brook for spotting the problem, which was introduced by
me when I merged these changes from xen-unstable.

16 years agomake write cacheing controllable by guest
Ian Jackson [Thu, 27 Mar 2008 17:58:45 +0000 (17:58 +0000)]
make write cacheing controllable by guest

This patch implements the ATA write cache feature.  This enables a
guest to control, in the standard way, whether disk writes are
immediately committed to disk before the IDE command completes, or may
be buffered in the host.

In this patch, by default buffering is off, which provides better
reliability but may have a performance impact.  It would be
straightforward to change the default, or perhaps offer a command-line
option, if that would be preferred.

This patch is derived from one which was originally submitted to the
Xen tree by Rik van Riel <riel@redhat.com> and includes code to save
the write_cache setting from Samuel Thibault.

From: Rik van Riel <riel@redhat.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
16 years agoImprove DMA transfers by increasing the size of DMA buffers.
Ian Jackson [Wed, 26 Mar 2008 16:09:35 +0000 (16:09 +0000)]
Improve DMA transfers by increasing the size of DMA buffers.

This involves a new constant IDE_DMA_BUF_SIZE which is separate from
MAX_MULT_SECTORS.

Cross-ported from xen-unstable
 17267:f4a92f0db20fda98a633c149e3396c005a759a77

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
16 years agoAdd .gitignore, copied mainly from .cvsignore
Ian Jackson [Mon, 25 Feb 2008 11:21:16 +0000 (11:21 +0000)]
Add .gitignore, copied mainly from .cvsignore

16 years agoUse new CTYPE macro for <ctype.h>
Ian Jackson [Wed, 20 Feb 2008 16:30:05 +0000 (16:30 +0000)]
Use new CTYPE macro for <ctype.h>

This avoids passing a negative int to isfoobar,
which is not allowed

16 years agomake bdrv_flush pay attention to errors
Ian Jackson [Wed, 20 Feb 2008 15:54:23 +0000 (15:54 +0000)]
make bdrv_flush pay attention to errors

16 years agoActually check read/write errors when doing IDE DMA and IDE PIO writes
Ian Jackson [Wed, 20 Feb 2008 15:24:14 +0000 (15:24 +0000)]
Actually check read/write errors when doing IDE DMA and IDE PIO writes

16 years agoFix some more LIST_ => QEMU_LIST_...
Ian Jackson [Fri, 15 Feb 2008 14:32:40 +0000 (14:32 +0000)]
Fix some more LIST_ => QEMU_LIST_...

16 years agocheck return value from read() and write() properly
Ian Jackson [Wed, 13 Feb 2008 16:24:30 +0000 (16:24 +0000)]
check return value from read() and write() properly

The system calls read and write may return less than the whole amount
requested for a number of reasons.  So the idioms
   if (read(fd, &object, sizeof(object)) != sizeof(object)) goto fail;
and even worse
   if (read(fd, &object, sizeof(object)) < 0) goto fail;
are wrong.  Additionally, read and write may sometimes return EINTR on
some systems so interruption is not desired or expected a loop is
needed.

16 years agoRemove clone-and-hack qemu_malloc et al.
Ian Jackson [Wed, 13 Feb 2008 16:20:09 +0000 (16:20 +0000)]
Remove clone-and-hack qemu_malloc et al.

qemu-img.c has copies of qemu_malloc et al, which are already provided
in osdep.c.  The attached patch removes these from qemu-img.c and
adds osdep.o to BLOCK_OBJS.

16 years agoMake it possible to disable AF_UNIX (unix-domain) sockets
Ian Jackson [Wed, 13 Feb 2008 16:18:49 +0000 (16:18 +0000)]
Make it possible to disable AF_UNIX (unix-domain) sockets

The patch below makes it possible to disable AF_UNIX (unix-domain)
sockets in host environments which do not define _WIN32, by adding
-DNO_UNIX_SOCKETS to the compiler flags.  This is useful in the
effectively-embedded qemu host which are going to be using for device
emulation in Xen.

16 years agoqemu's audio subdirectory contains a copy of BSD's sys-queue.h, which
Ian Jackson [Wed, 13 Feb 2008 16:17:54 +0000 (16:17 +0000)]
qemu's audio subdirectory contains a copy of BSD's sys-queue.h, which

defines a bunch of LIST_ macros.  This makes it difficult to build a
program made partly out of qemu and partly out of the Linux kernel,
since Linux has a different set of LIST_ macros.  It might also cause
trouble when mixing with BSD-derived code.

Under the circumstances it's probably best to rename the versions in
qemu.  The attached patch does this.

16 years agoCRIS: Remove some old dyngen T0/T1 fiddle. More usage of the results from the x flag...
edgar_igl [Mon, 12 May 2008 07:57:23 +0000 (07:57 +0000)]
CRIS: Remove some old dyngen T0/T1 fiddle. More usage of the results from the x flag liveness analysis.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4433 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoDebugger single step without interrupts (Jason Wessel).
edgar_igl [Mon, 12 May 2008 07:44:23 +0000 (07:44 +0000)]
Debugger single step without interrupts (Jason Wessel).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4432 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove someexplicit alignment checks (initial patch by Fabrice Bellard)
blueswir1 [Sun, 11 May 2008 19:24:10 +0000 (19:24 +0000)]
Remove someexplicit alignment checks (initial patch by Fabrice Bellard)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4431 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUpdate the etrax machine.
edgar_igl [Sun, 11 May 2008 15:07:19 +0000 (15:07 +0000)]
Update the etrax machine.
* Use CFI-0002 flashes.
* Connect one of the ethernet blocks.
* Simplified irq numbering.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4430 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd limited support for the etrax ethernet controller.
edgar_igl [Sun, 11 May 2008 15:04:22 +0000 (15:04 +0000)]
Add limited support for the etrax ethernet controller.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4429 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd support for parts of the etraxfs dma controller.
edgar_igl [Sun, 11 May 2008 15:03:06 +0000 (15:03 +0000)]
Add support for parts of the etraxfs dma controller.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4428 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCorrect interrupt masking for etrax timers.
edgar_igl [Sun, 11 May 2008 14:58:19 +0000 (14:58 +0000)]
Correct interrupt masking for etrax timers.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4427 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd TCG native negation op.
pbrook [Sun, 11 May 2008 14:35:37 +0000 (14:35 +0000)]
Add TCG native negation op.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4426 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCRIS: Add support for the pseudo randomized set that the mmu provides with TLB refill...
edgar_igl [Sun, 11 May 2008 14:28:14 +0000 (14:28 +0000)]
CRIS: Add support for the pseudo randomized set that the mmu provides with TLB refill faults. This makes linux guests use the four way TLB set associativty.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4425 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd zero extension (pseudo-)ops.
pbrook [Sun, 11 May 2008 12:22:01 +0000 (12:22 +0000)]
Add zero extension (pseudo-)ops.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4424 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix parallel build (broken by commit r4407)
aurel32 [Sat, 10 May 2008 23:51:24 +0000 (23:51 +0000)]
Fix parallel build (broken by commit r4407)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4423 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix argument description for -loadvm option
aurel32 [Sat, 10 May 2008 23:28:26 +0000 (23:28 +0000)]
Fix argument description for -loadvm option

(Sebastian Herbszt)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4422 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix broken PPC user space single stepping
aurel32 [Sat, 10 May 2008 23:28:14 +0000 (23:28 +0000)]
Fix broken PPC user space single stepping

(Jason Wessel)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4421 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoREXB optimization cannot be done at this level
bellard [Sat, 10 May 2008 21:58:28 +0000 (21:58 +0000)]
REXB optimization cannot be done at this level

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4420 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoadded missing return (Mike Frysinger)
bellard [Sat, 10 May 2008 21:51:02 +0000 (21:51 +0000)]
added missing return (Mike Frysinger)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4419 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agofixed qemu_st8 insn - prologue saved too many registers
bellard [Sat, 10 May 2008 21:42:05 +0000 (21:42 +0000)]
fixed qemu_st8 insn - prologue saved too many registers

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4418 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCorrect a formatting issue (Carlo Marcelo Arenas Belon).
edgar_igl [Sat, 10 May 2008 19:37:44 +0000 (19:37 +0000)]
Correct a formatting issue (Carlo Marcelo Arenas Belon).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4417 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCRIS: helper_dummy no longer needed as barrier for qemu_ld/st.
edgar_igl [Sat, 10 May 2008 19:20:33 +0000 (19:20 +0000)]
CRIS: helper_dummy no longer needed as barrier for qemu_ld/st.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4416 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix DEBUG_TCGV.
pbrook [Sat, 10 May 2008 18:43:02 +0000 (18:43 +0000)]
Fix DEBUG_TCGV.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4415 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoFix ppcemb-softmmu (Stuart Brady)
blueswir1 [Sat, 10 May 2008 17:23:18 +0000 (17:23 +0000)]
Fix ppcemb-softmmu (Stuart Brady)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4414 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agofixed do_restore_state()
bellard [Sat, 10 May 2008 15:42:17 +0000 (15:42 +0000)]
fixed do_restore_state()

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4413 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoRename CONFIG_NO_DYNGEN_OP to CONFIG_DYNGEN_OP to avoid double negatives
blueswir1 [Sat, 10 May 2008 12:27:33 +0000 (12:27 +0000)]
Rename CONFIG_NO_DYNGEN_OP to CONFIG_DYNGEN_OP to avoid double negatives

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4412 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoRemove duplicated field
blueswir1 [Sat, 10 May 2008 12:25:46 +0000 (12:25 +0000)]
Remove duplicated field

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4411 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoAdd a TODO file
blueswir1 [Sat, 10 May 2008 12:09:24 +0000 (12:09 +0000)]
Add a TODO file

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4410 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agono need to define global registers in cpu-exec.c
bellard [Sat, 10 May 2008 11:01:31 +0000 (11:01 +0000)]
no need to define global registers in cpu-exec.c

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4409 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agosuppressed fixed registers
bellard [Sat, 10 May 2008 10:58:20 +0000 (10:58 +0000)]
suppressed fixed registers

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4408 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoinitial global prologue/epilogue implementation
bellard [Sat, 10 May 2008 10:55:51 +0000 (10:55 +0000)]
initial global prologue/epilogue implementation

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4407 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agofixed global variable handling with qemu load/stores - initial global prologue/epilog...
bellard [Sat, 10 May 2008 10:52:05 +0000 (10:52 +0000)]
fixed global variable handling with qemu load/stores - initial global prologue/epilogue implementation

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4406 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoFix compiler warnings in common files
blueswir1 [Sat, 10 May 2008 10:14:22 +0000 (10:14 +0000)]
Fix compiler warnings in common files

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4405 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoFix compiler warnings
blueswir1 [Sat, 10 May 2008 10:12:00 +0000 (10:12 +0000)]
Fix compiler warnings

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4404 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoupdate
bellard [Sat, 10 May 2008 09:47:37 +0000 (09:47 +0000)]
update

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4403 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoSpecial-case CTL_ALIAS instead of CTL_DNS in udp loopback test.
balrog [Sat, 10 May 2008 01:49:53 +0000 (01:49 +0000)]
Special-case CTL_ALIAS instead of CTL_DNS in udp loopback test.

At the same time remove a bogus test (tested by Jason Wessel).
Quiet some gcc4 warnings from slirp compilation.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4402 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoImprove tsc2005 touchscreen usability.
balrog [Fri, 9 May 2008 22:17:18 +0000 (22:17 +0000)]
Improve tsc2005 touchscreen usability.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4401 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoAdd the LM8323-based keyboard of N810.
balrog [Fri, 9 May 2008 22:16:11 +0000 (22:16 +0000)]
Add the LM8323-based keyboard of N810.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4400 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoCPU feature selection support
blueswir1 [Fri, 9 May 2008 20:13:43 +0000 (20:13 +0000)]
CPU feature selection support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4399 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoMove #include to speed up compilation
blueswir1 [Fri, 9 May 2008 20:12:09 +0000 (20:12 +0000)]
Move #include to speed up compilation

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4398 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoSH4 serial controler improvements
aurel32 [Fri, 9 May 2008 18:46:04 +0000 (18:46 +0000)]
SH4 serial controler improvements

(Shin-ichiro KAWASAKI)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4397 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoSH4 MMU improvements
aurel32 [Fri, 9 May 2008 18:45:55 +0000 (18:45 +0000)]
SH4 MMU improvements

(Shin-ichiro KAWASAKI)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4396 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoMove #include "softfloat.h" to cpu-all.h
aurel32 [Fri, 9 May 2008 18:45:47 +0000 (18:45 +0000)]
Move #include "softfloat.h" to cpu-all.h

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4395 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agox86_64 and better i386 support
bellard [Fri, 9 May 2008 14:40:22 +0000 (14:40 +0000)]
x86_64 and better i386 support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4394 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agolist of maintainers
bellard [Fri, 9 May 2008 09:39:00 +0000 (09:39 +0000)]
list of maintainers

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4393 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoRemove x86-64 specific reg fillers.
edgar_igl [Fri, 9 May 2008 08:50:01 +0000 (08:50 +0000)]
Remove x86-64 specific reg fillers.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4392 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoDebugger single step without interrupts (Jason Wessel).
edgar_igl [Fri, 9 May 2008 08:25:14 +0000 (08:25 +0000)]
Debugger single step without interrupts (Jason Wessel).

This patch allows the qemu backend debugger to single step an
instruction without running the hardware interrupts.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4391 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoAdd x86_64 gdb stub for qemu (Jason Wessel).
edgar_igl [Fri, 9 May 2008 08:23:19 +0000 (08:23 +0000)]
Add x86_64 gdb stub for qemu (Jason Wessel).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4390 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoCRIS: Concistent use of btarget and make it possible to single-step over delayslots.
edgar_igl [Fri, 9 May 2008 08:14:05 +0000 (08:14 +0000)]
CRIS: Concistent use of btarget and make it possible to single-step over delayslots.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4389 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoMake a safer guess for max generated ops per guest insn (spotted by Jan Kiszka).
edgar_igl [Fri, 9 May 2008 05:55:18 +0000 (05:55 +0000)]
Make a safer guess for max generated ops per guest insn (spotted by Jan Kiszka).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4388 c046a42c-6fe2-441c-8c8c-71466251a162

17 years agoCFI-0002 linux MTD compatibility.
edgar_igl [Thu, 8 May 2008 21:02:43 +0000 (21:02 +0000)]
CFI-0002 linux MTD compatibility.
* Add an extended table area.
* Clear buffer write timeouts to indicate that we dont support it.
* Correct device size.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4387 c046a42c-6fe2-441c-8c8c-71466251a162