sdk/emulator/qemu.git
15 years agoReturn -errno on write failure (Gleb Natapov)
aliguori [Thu, 15 Jan 2009 20:44:26 +0000 (20:44 +0000)]
Return -errno on write failure (Gleb Natapov)

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6324 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agobdrv_write should not stop on partial write (Gleb Natapov)
aliguori [Thu, 15 Jan 2009 20:43:39 +0000 (20:43 +0000)]
bdrv_write should not stop on partial write (Gleb Natapov)

Should return real error instead.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6323 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoadd a -vga none cli option (Stefano Stabellini)
aliguori [Thu, 15 Jan 2009 20:37:28 +0000 (20:37 +0000)]
add a -vga none cli option (Stefano Stabellini)

currently there is no way to fully disable any graphic card device for
the PC architecture.
You can have no graphical output, thanks to -nographic, but you would
have the VGA device connected to your PCI bus anyway.
There is already a convenient -vga option to choose between std, cirrus
and vmware; this patch add the new option "none" to select no graphic
card at all.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6322 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdopt cpu_copy to new breakpoint API (Jan Kaszka)
aliguori [Thu, 15 Jan 2009 20:16:51 +0000 (20:16 +0000)]
Adopt cpu_copy to new breakpoint API (Jan Kaszka)

Latest changes to the cpu_breakpoint/watchpoint API broke cpu_copy. This
patch fixes it by cloning the breakpoint and watchpoint lists
appropriately.

Thanks to Lionel Landwerlin for pointing out.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6321 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd -rtc-td-hack option to fix time drift with RTC on Windows (Gleb Natapov)
aliguori [Thu, 15 Jan 2009 20:11:34 +0000 (20:11 +0000)]
Add -rtc-td-hack option to fix time drift with RTC on Windows (Gleb Natapov)

After my last patch to fix interrupt coalescing was rejected
on the basis that it is too intrusive we decided to make the
fix much more localized and only fix the problem for RTC time
source. Unfortunately it is impossible to fix the problem entirely
inside RTC code like Andrzej proposed since Windows reads RTC
register C more then once on each time interrupt so it is impossible
to count reliably how many interrupt windows actually handled.
Proposed solution is localized to I386 target and is disabled by
default. To enable it "-rtc-td-hack" flag should be used.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6320 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoadd virtio-console initializer for powerpc (Christian Ehrhardt)
aliguori [Thu, 15 Jan 2009 20:08:19 +0000 (20:08 +0000)]
add virtio-console initializer for powerpc (Christian Ehrhardt)

This adds an intialization of virtio console for powerpc.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6319 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoadd virtio-console initializer for x86 (Christian Ehrhardt)
aliguori [Thu, 15 Jan 2009 20:07:22 +0000 (20:07 +0000)]
add virtio-console initializer for x86 (Christian Ehrhardt)

This adds an intialization of virtio console for pc style hardware.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6318 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoadd virtio-console cmdline option (Christian Ehrhardt)
aliguori [Thu, 15 Jan 2009 20:06:40 +0000 (20:06 +0000)]
add virtio-console cmdline option (Christian Ehrhardt)

This patch adds the typical qemu console command line switch to the virtio
console. using -virtioconsole ARG it can now be specified what output a guest
hvc should be redirected to.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6317 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd missing files from last commit.
aliguori [Thu, 15 Jan 2009 20:05:50 +0000 (20:05 +0000)]
Add missing files from last commit.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6316 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoadd virtio-console support (Christian Ehrhardt)
aliguori [Thu, 15 Jan 2009 20:05:25 +0000 (20:05 +0000)]
add virtio-console support (Christian Ehrhardt)

This patch adds the virtio console to qemu. This console can be found after the
serial and parallel outputs as another virtual console. In the -nographic case
it is redirected to the null output by default.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6315 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agocuda: fix indentation
aurel32 [Thu, 15 Jan 2009 18:57:25 +0000 (18:57 +0000)]
cuda: fix indentation

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6314 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agocuda: improve date/time read/write
aurel32 [Thu, 15 Jan 2009 18:57:15 +0000 (18:57 +0000)]
cuda: improve date/time read/write

- Allow date/time to be written
- Use qemu_get_timedate() to initialize the clock

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6313 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix bsd-user build
blueswir1 [Thu, 15 Jan 2009 17:27:45 +0000 (17:27 +0000)]
Fix bsd-user build

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

15 years agoLSI53C895A: Introduce CASE_GET_REG24
aurel32 [Wed, 14 Jan 2009 21:42:48 +0000 (21:42 +0000)]
LSI53C895A: Introduce CASE_GET_REG24

CASE_GET_REG32 is already defined in lsi53c895a.c; introduce CASE_GET_REG24.

(Sebastian Herbszt)

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

15 years agoFix day of week in mc146818
aurel32 [Wed, 14 Jan 2009 21:09:07 +0000 (21:09 +0000)]
Fix day of week in mc146818

According to mc146818 specification, Day of Week register (#6) is between 1
and 7, 1 representing Sunday. According C specification, tm_wday field in
struct tm is between 0 and 6, 0 representing Sunday.

Bit 2 of register B (#11) is named DM (data mode) and specifies if RTC
stores values in BCD or in binary form.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6310 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agosh4: Add FMAC instruction support
aurel32 [Wed, 14 Jan 2009 21:02:59 +0000 (21:02 +0000)]
sh4: Add FMAC instruction support

Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6309 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: fix wrteei instruction
aurel32 [Wed, 14 Jan 2009 19:40:54 +0000 (19:40 +0000)]
target-ppc: fix wrteei instruction

Patch by Andrew May

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

15 years agotarget-mips: optimize some gpr accesses
aurel32 [Wed, 14 Jan 2009 19:40:46 +0000 (19:40 +0000)]
target-mips: optimize some gpr accesses

Optimize gpr accesses when it is known at translation time that gpr != 0.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6307 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: fix indentation
aurel32 [Wed, 14 Jan 2009 19:40:36 +0000 (19:40 +0000)]
target-mips: fix indentation

Remove all tabs from target-mips/*

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6306 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoGet rid of user_mode_only
aurel32 [Wed, 14 Jan 2009 19:40:27 +0000 (19:40 +0000)]
Get rid of user_mode_only

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6305 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoSuppress i386 warnings
blueswir1 [Wed, 14 Jan 2009 19:27:02 +0000 (19:27 +0000)]
Suppress i386 warnings

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

15 years agoAdd noreturn function attribute
blueswir1 [Wed, 14 Jan 2009 19:00:36 +0000 (19:00 +0000)]
Add noreturn function attribute

Introduce noreturn attribute and attach it to cpu_loop_exit as well as
interrupt/exception helpers for i386. This avoids a bunch of gcc4
warnings.

[ Note that this patch comes with a workaround to include qemu-common.h
even in cases where is currently causes conflicts with dyngen-exec.h.
I've been told that these conflicts will get resolved in the future
(/me will try to have a look as well - as time permits). ]

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6303 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMigrate to check_define
malc [Wed, 14 Jan 2009 18:39:52 +0000 (18:39 +0000)]
Migrate to check_define

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

15 years agoRemove all traces of __powerpc__
malc [Wed, 14 Jan 2009 18:39:49 +0000 (18:39 +0000)]
Remove all traces of __powerpc__

According to $GCC/gcc/config/rs6000/rs6000-c.c _ARCH_PPC is the
ubiquitous define which should be used to test whether gcc targets
PowerPC, on 64bit platforms _ARCH_PPC64 will be also defined.

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

15 years agoFix some more warnings
blueswir1 [Wed, 14 Jan 2009 18:34:22 +0000 (18:34 +0000)]
Fix some more warnings

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

15 years agoMake OpenBSD sparc-softmmu compile warning free
blueswir1 [Wed, 14 Jan 2009 18:08:08 +0000 (18:08 +0000)]
Make OpenBSD sparc-softmmu compile warning free

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

15 years agoFix _P use on OpenBSD
blueswir1 [Wed, 14 Jan 2009 18:04:52 +0000 (18:04 +0000)]
Fix _P use on OpenBSD

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

15 years agoFix iovec probe on OpenBSD
blueswir1 [Wed, 14 Jan 2009 18:03:53 +0000 (18:03 +0000)]
Fix iovec probe on OpenBSD

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

15 years agoPPC OldWorld: use a more realistic timer frequency
aurel32 [Wed, 14 Jan 2009 14:48:04 +0000 (14:48 +0000)]
PPC OldWorld: use a more realistic timer frequency

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6296 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoescc: allow one IRQ per serial channel
aurel32 [Wed, 14 Jan 2009 14:47:56 +0000 (14:47 +0000)]
escc: allow one IRQ per serial channel

The Z85C30 on the PowerMAC machines have one interrupt per serial
channel, while the Sparc machines have only one for both. Allow the
emulated device to use one IRQ per channel.

Patch by Laurent Vivier.

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

15 years agoUpdate OpenBIOS PowerPC image to revision 406
aurel32 [Wed, 14 Jan 2009 14:47:46 +0000 (14:47 +0000)]
Update OpenBIOS PowerPC image to revision 406

- Support kernel arguments through -append
- Quik support
- PowerMac serial ports supports

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6294 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix building on PPC64
malc [Wed, 14 Jan 2009 10:14:31 +0000 (10:14 +0000)]
Fix building on PPC64

HOST_PPC alone can't be a substitute for __powerpc__ which is defined
for both 32 and 64bit PPCs, so go with HOST_PPC || HOST_PPC64 instead.

Reported by C. W. Betts

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

15 years agoDo not rely on __powerpc__ being defined as a feature test macro
malc [Tue, 13 Jan 2009 23:12:34 +0000 (23:12 +0000)]
Do not rely on __powerpc__ being defined as a feature test macro

__powerpc__ is not defined on AIX and Darwin, Makefile.target adds
it to CPPFLAGS for target specific code which cache-utils are not.

Since there's not common definition which can safely be used on all
platforms use HOST_PPC provided by config-host.h

The problem was originally reported by C. W. Betts

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

15 years agoMake virtio_net_init() return void (Mark McLoughlin)
aliguori [Tue, 13 Jan 2009 21:09:18 +0000 (21:09 +0000)]
Make virtio_net_init() return void (Mark McLoughlin)

All PCI NIC init functions return void and nothing uses the
return value from virtio_net_init().

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6291 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agosun4c/sun4d: also swap the CharDriverState of escc_init()
aurel32 [Tue, 13 Jan 2009 20:08:43 +0000 (20:08 +0000)]
sun4c/sun4d: also swap the CharDriverState of escc_init()

Forgotten in r6284

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6290 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUpdate bochs bios
aliguori [Tue, 13 Jan 2009 20:06:26 +0000 (20:06 +0000)]
Update bochs bios

They have applied all of our patches and they have an additional HPET fix.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6289 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix 64 bit issue in slirp
blueswir1 [Tue, 13 Jan 2009 19:48:42 +0000 (19:48 +0000)]
Fix 64 bit issue in slirp

Signed-off-by: Gleb Natapov <gleb@redhat.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6288 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMake pci_nic_init() use qemu_setup_nic_model() (Mark McLoughlin)
aliguori [Tue, 13 Jan 2009 19:47:10 +0000 (19:47 +0000)]
Make pci_nic_init() use qemu_setup_nic_model() (Mark McLoughlin)

Add a table of PCI NIC models to pass to qemu_setup_nic_model().

While we're at it, also add a corresponding table of NIC init
functions.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6287 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCheck NIC model in some NIC init functions (Mark McLoughlin)
aliguori [Tue, 13 Jan 2009 19:39:36 +0000 (19:39 +0000)]
Check NIC model in some NIC init functions (Mark McLoughlin)

Some NIC init functions are only called when that model is
the only valid model. In that case, it makes sense to use
qemu_check_nic_model() from the NIC init function itself.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6286 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix tap downscript argument (Mark McLoughlin)
aliguori [Tue, 13 Jan 2009 19:15:55 +0000 (19:15 +0000)]
Fix tap downscript argument (Mark McLoughlin)

Kill off the hack that parses info_str for the tap interface
name to pass as the argument to the downscript and, instead,
just explicitly keep a copy of the string for later.

As reported by John Wong, this commit:

  Add qemu_format_nic_info_str()

changed the invocation of downscript from e.g.

  /path/kvm-ifdown "tap0"

to:

  /path/kvm-ifdown "tap0,script=/path/kvm-ifup,downscript=/path/kvm-ifdown"

This fix restores the original behavior.

Reported-by: John Wong <johnw@wonghome.net>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6285 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoESCC: swap the two CharDriverState arguments
aurel32 [Tue, 13 Jan 2009 19:08:18 +0000 (19:08 +0000)]
ESCC: swap the two CharDriverState arguments

Swap the two CharDriverState arguments so that the first argument
corresponds to the channel A and the second argument to the channel B.

Modify hw/sun4m.c accordingly.

This fixes the order of the serial ports on the PPC machines.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6284 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: define max amount of memory for G3 beige
aurel32 [Tue, 13 Jan 2009 19:08:10 +0000 (19:08 +0000)]
target-ppc: define max amount of memory for G3 beige

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6283 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: fix comment about boot device in ppc_oldworld.c
aurel32 [Tue, 13 Jan 2009 19:07:59 +0000 (19:07 +0000)]
target-ppc: fix comment about boot device in ppc_oldworld.c

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6282 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd qemu_check_nic_model() and qemu_check_nic_model_list() (Mark McLoughlin)
aliguori [Tue, 13 Jan 2009 19:03:57 +0000 (19:03 +0000)]
Add qemu_check_nic_model() and qemu_check_nic_model_list() (Mark McLoughlin)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6281 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix gdbserver number of registers (Tristan Gingold)
blueswir1 [Tue, 13 Jan 2009 16:28:01 +0000 (16:28 +0000)]
Fix gdbserver number of registers (Tristan Gingold)

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

15 years agoRTL8139: Latch C+ mode state instead of inferring it from C+ Command register (Avi...
aliguori [Tue, 13 Jan 2009 15:20:14 +0000 (15:20 +0000)]
RTL8139: Latch C+ mode state instead of inferring it from C+ Command register (Avi Kivity)

It was observed that Windows 2003 x64 hangs when shutting down if an
RTL8139 NIC and a USB device tablet are both present.  What seems to be
happening is:

- the guest shuts down the transmitter and receiver
- time passes
- the guest requests a tally counter dump

As it happens, the tally counter command register overlaps the transmit
status register in C mode.  Qemu determines whether the chip is in C or C+
mode by looking at the C+ transmit enable bit; as this is now unset, the
dump tally counter command is interpreted as a C mode transmit command.  The
guest doesn't think so, however, and continues to poll for completion of the
tally counter dump command.  This never occurs, so the guest hangs.

Fix by redefining C+ mode as "a write to the C+ command register has occurred
since the last reset".  The data sheet is silent on the matter.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6279 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix race in POSIX AIO emulation (Jan Kiszka)
aliguori [Tue, 13 Jan 2009 15:13:53 +0000 (15:13 +0000)]
Fix race in POSIX AIO emulation (Jan Kiszka)

When we cancel an AIO request that is already being processed by
aio_thread, qemu_paio_cancel should return QEMU_PAIO_NOTCANCELED as long
as aio_thread isn't done with this request. But as the latter currently
updates aiocb->ret after every block of the request, we may report
QEMU_PAIO_ALLDONE too early.

Futhermore, in case some zero-length request should have been queued,
aiocb->ret is never set to != -EINPROGRESS and callers like
raw_aio_cancel could get stuck in an endless loop.

Fix those issues by updating aiocb->ret _after_ the request has been
fully processed. This also simplifies the locking.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6278 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-alpha: get rid of tests on env->user_mode_only
aurel32 [Mon, 12 Jan 2009 21:33:22 +0000 (21:33 +0000)]
target-alpha: get rid of tests on env->user_mode_only

Replace runtime checks on env->user_mode_only by compile time
checks on CONFIG_USER_ONLY.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6277 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: get rid of tests on env->user_mode_only
aurel32 [Mon, 12 Jan 2009 21:33:13 +0000 (21:33 +0000)]
target-mips: get rid of tests on env->user_mode_only

Replace runtime checks on env->user_mode_only by compile time
checks on CONFIG_USER_ONLY.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6276 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: add altivec cache instructions
aurel32 [Mon, 12 Jan 2009 21:33:02 +0000 (21:33 +0000)]
target-ppc: add altivec cache instructions

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6275 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix TLB access (Jakub Jermar)
blueswir1 [Mon, 12 Jan 2009 21:12:22 +0000 (21:12 +0000)]
Fix TLB access (Jakub Jermar)

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

15 years agoUpdate Sparc32 and Sparc64 images
blueswir1 [Mon, 12 Jan 2009 20:00:29 +0000 (20:00 +0000)]
Update Sparc32 and Sparc64 images

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

15 years agoFix some SLIRP warnings
blueswir1 [Mon, 12 Jan 2009 17:51:06 +0000 (17:51 +0000)]
Fix some SLIRP warnings

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

15 years agoUse ESCC for PowerMac serial
blueswir1 [Mon, 12 Jan 2009 17:40:23 +0000 (17:40 +0000)]
Use ESCC for PowerMac serial

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

15 years agoRename slavio_serial functions to escc, add clock rate and it_shift parameters
blueswir1 [Mon, 12 Jan 2009 17:38:28 +0000 (17:38 +0000)]
Rename slavio_serial functions to escc, add clock rate and it_shift parameters

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

15 years agoRename slavio_serial to escc
blueswir1 [Mon, 12 Jan 2009 17:33:30 +0000 (17:33 +0000)]
Rename slavio_serial to escc

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

15 years agoFix typo
blueswir1 [Mon, 12 Jan 2009 17:31:29 +0000 (17:31 +0000)]
Fix typo

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

15 years agoFix segfault
blueswir1 [Sat, 10 Jan 2009 14:38:00 +0000 (14:38 +0000)]
Fix segfault

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

15 years agoAdd EBUS bridge
blueswir1 [Sat, 10 Jan 2009 11:33:32 +0000 (11:33 +0000)]
Add EBUS bridge

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

15 years agoFix APB
blueswir1 [Fri, 9 Jan 2009 20:53:30 +0000 (20:53 +0000)]
Fix APB

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

15 years agoUpdate openbios-ppc to revision 373
aurel32 [Fri, 9 Jan 2009 20:06:44 +0000 (20:06 +0000)]
Update openbios-ppc to revision 373

Fix boot on CD-ROM.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6264 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agofix configuring kvm probe when using --kerneldir (Christian Ehrhardt)
aliguori [Fri, 9 Jan 2009 20:05:10 +0000 (20:05 +0000)]
fix configuring kvm probe when using --kerneldir (Christian Ehrhardt)

There is already a variable kvm_cflags which gets the path of the kernel
includes when using --kerneldir. But eventually with newer kernels we all will
need arch/$arch/include too (my case was a incldue of asm/kvm.h which was not
found anymore). Headers in a full kernel source are not flattened to
one arch like they are if e.g. installed kernel headers are used.

To fix that, the includes added to cflags depending on --kerneldir should also
contian the arch includes. The patch adds a special check for x86 because its
source layout recently changed, all others directly use arch/$cpu/include if
existent.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6263 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMark openbios-ppc as a binary file.
aurel32 [Fri, 9 Jan 2009 19:51:09 +0000 (19:51 +0000)]
Mark openbios-ppc as a binary file.

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

15 years agomips, ppc: make sure nd->model is always defined
aurel32 [Fri, 9 Jan 2009 13:10:41 +0000 (13:10 +0000)]
mips, ppc: make sure nd->model is always defined

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6261 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: add an openbios-ppc image
aurel32 [Fri, 9 Jan 2009 11:01:31 +0000 (11:01 +0000)]
target-ppc: add an openbios-ppc image

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6260 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUpdate to reflect the fact that AC97 will be built by default
malc [Fri, 9 Jan 2009 10:46:37 +0000 (10:46 +0000)]
Update to reflect the fact that AC97 will be built by default

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

15 years agoMore flexible audio card selection
malc [Fri, 9 Jan 2009 10:46:34 +0000 (10:46 +0000)]
More flexible audio card selection

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

15 years agotarget-ppc: revert part of commit r6254 committed accidentally
aurel32 [Fri, 9 Jan 2009 06:43:25 +0000 (06:43 +0000)]
target-ppc: revert part of commit r6254 committed accidentally

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6257 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMake the set_link cmd handle multiple nics.
edgar_igl [Fri, 9 Jan 2009 00:48:28 +0000 (00:48 +0000)]
Make the set_link cmd handle multiple nics.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6256 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Let the ethernet PHY report the current link-state.
edgar_igl [Fri, 9 Jan 2009 00:04:35 +0000 (00:04 +0000)]
ETRAX: Let the ethernet PHY report the current link-state.

* PHY reports correct link-state.
* Allow the board description to assign separate addresses to each PHY.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6255 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd v{add, sub}{s, u}{b, h, w}s instructions
aurel32 [Thu, 8 Jan 2009 23:19:50 +0000 (23:19 +0000)]
Add v{add, sub}{s, u}{b, h, w}s instructions

Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6254 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoEnable ac97 by default
aliguori [Thu, 8 Jan 2009 21:03:55 +0000 (21:03 +0000)]
Enable ac97 by default

ac97 has drivers for Vista 64-bit whereas sb16 and es1370 do not appear to.  I
asked malc why it was disabled and he said it was because it was GPL.  He did
not object to enabling it now that more QEMU code is GPL'd.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6253 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoIDE: Return zero when reading error register with slave selected (Justin Chevrier)
aliguori [Thu, 8 Jan 2009 21:03:07 +0000 (21:03 +0000)]
IDE: Return zero when reading error register with slave selected (Justin Chevrier)

During hardware detection Openserver issues commands to slaves on both primary
and secondary ports. We already return a zero for the status register in this
situation but after reading the status register the Openserver installer
proceeds to check the value of the error register. Currently we return the
existing value in the register. This confuses the installer and it tries to
access the slave units later on. When the command that gets issued later gets
ignored the installer freezes. The patch below returns zero when reading the
error register if a slave unit is selected. Openserver can now successfully be
installed using the emulated IDE hard drive.

Return zero when reading error register with slave selected

Signed-off-by: Justin Chevrier <theburner1@yahoo.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6252 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix IDE debug
blueswir1 [Thu, 8 Jan 2009 20:01:26 +0000 (20:01 +0000)]
Fix IDE debug

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

15 years agoImplement virtio_net link status (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:46:33 +0000 (19:46 +0000)]
Implement virtio_net link status (Mark McLoughlin)

Implement the VIRTIO_NET_F_STATUS feature by exposing the link status
through virtio_net_config::status.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6250 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoImplement e1000 link status (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:45:50 +0000 (19:45 +0000)]
Implement e1000 link status (Mark McLoughlin)

On link up or down we set the E1000_STATUS_LU ("link up") bit
in the status register and set the E1000_ICR_LSC ("link
status changed") bit in the interrupt cause register before
interrupting the guest.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6249 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAllow devices be notified of link status change (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:45:03 +0000 (19:45 +0000)]
Allow devices be notified of link status change (Mark McLoughlin)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6248 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd 'set_link' monitor command (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:44:06 +0000 (19:44 +0000)]
Add 'set_link' monitor command (Mark McLoughlin)

Add a monitor command to setting a given network device's link status
to 'up' or 'down'.

Allows simulation of network cable disconnect.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6247 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoqemu-nbd: fix options: -b (--bind) expects an argument (IFACE) (Uri Lublin)
aliguori [Thu, 8 Jan 2009 19:34:35 +0000 (19:34 +0000)]
qemu-nbd: fix options: -b (--bind) expects an argument (IFACE) (Uri Lublin)

Rebased for qemu tree.

Signed-off-by: Uri Lublin <uril@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6246 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoqcow2: free old snapshots array upon creation of a new one (Uri Lublin)
aliguori [Thu, 8 Jan 2009 19:32:20 +0000 (19:32 +0000)]
qcow2: free old snapshots array upon creation of a new one (Uri Lublin)

Don't leak memory

Rebased for qemu tree.

Signed-off-by: Uri Lublin <uril@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6245 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoqcow1: Fix compressed images (Kevin Wolf)
aliguori [Thu, 8 Jan 2009 19:29:03 +0000 (19:29 +0000)]
qcow1: Fix compressed images (Kevin Wolf)

Revert r4673, the removed dead code wasn't dead in fact.

Additionally, change the misleading else which tricks the reader into
believing that allocate is a boolean to else if (allocate == 2).

Signed-off-by: Kevin Wolf <kwolf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6244 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd support for vmchannel socket migration (Gleb Natapov)
aliguori [Thu, 8 Jan 2009 19:27:07 +0000 (19:27 +0000)]
Add support for vmchannel socket migration (Gleb Natapov)

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6243 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd "restrict" and "ip" option to "user" net option (Gleb Natapov)
aliguori [Thu, 8 Jan 2009 19:26:22 +0000 (19:26 +0000)]
Add "restrict" and "ip" option to "user" net option (Gleb Natapov)

Expose new slirp capabilities to user through a command line options.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6242 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd slirp_restrict option (Gleb Natapov)
aliguori [Thu, 8 Jan 2009 19:24:00 +0000 (19:24 +0000)]
Add slirp_restrict option (Gleb Natapov)

Add "slirp firewall" to permit connection only to vmchannel addresses.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6241 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRedirect slirp traffic to/from qemu character device (Gleb Natapov)
aliguori [Thu, 8 Jan 2009 19:18:21 +0000 (19:18 +0000)]
Redirect slirp traffic to/from qemu character device (Gleb Natapov)

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6240 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd model field to nic info (Mark McLoughlin)
aliguori [Thu, 8 Jan 2009 19:01:37 +0000 (19:01 +0000)]
Add model field to nic info (Mark McLoughlin)

The model type used to be printed as part of the nic info.  It was removed when
the name type was added.  This adds back a model field for those that were
using it previously.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6239 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vspltis{b,h,w} instructions
aurel32 [Thu, 8 Jan 2009 18:54:57 +0000 (18:54 +0000)]
Add vspltis{b,h,w} instructions

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6238 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vs{l,r} instructions
aurel32 [Thu, 8 Jan 2009 18:54:48 +0000 (18:54 +0000)]
Add vs{l,r} instructions

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6237 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd vcmpequ{b, h, w} and vcmpgt{s, u}{b, h, w} instructions
aurel32 [Thu, 8 Jan 2009 18:54:38 +0000 (18:54 +0000)]
Add vcmpequ{b, h, w} and vcmpgt{s, u}{b, h, w} instructions

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6236 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd GEN_VXRFORM{,1} macros for subsequent instructions
aurel32 [Thu, 8 Jan 2009 18:54:26 +0000 (18:54 +0000)]
Add GEN_VXRFORM{,1} macros for subsequent instructions

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6235 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoImprove PCI debug support
blueswir1 [Thu, 8 Jan 2009 18:52:52 +0000 (18:52 +0000)]
Improve PCI debug support

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

15 years agotarget-mips: CP0 Random register improvements
aurel32 [Thu, 8 Jan 2009 18:48:12 +0000 (18:48 +0000)]
target-mips: CP0 Random register improvements

- Use a LFSR to generate the random value
- Make sure to not return the same value twice

Based on a patch by HervĂ© Poussineau.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6233 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agocmd646: correctly enable IDE channels
aurel32 [Thu, 8 Jan 2009 16:01:33 +0000 (16:01 +0000)]
cmd646: correctly enable IDE channels

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6232 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: move OpenBIOS machines type to ppc.h from hw/ppc_oldworld.c
aurel32 [Thu, 8 Jan 2009 16:01:23 +0000 (16:01 +0000)]
target-ppc: move OpenBIOS machines type to ppc.h from hw/ppc_oldworld.c

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6231 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoSome more updates for the g3bw -> g3beige change
aurel32 [Thu, 8 Jan 2009 16:01:13 +0000 (16:01 +0000)]
Some more updates for the g3bw -> g3beige change

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6230 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoupdate the documentation for the g3bw -> g3beige change
aurel32 [Wed, 7 Jan 2009 23:51:36 +0000 (23:51 +0000)]
update the documentation for the g3bw -> g3beige change

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6229 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: Switch ppc_oldworld.c to G3 beige
aurel32 [Wed, 7 Jan 2009 23:38:59 +0000 (23:38 +0000)]
target-ppc: Switch ppc_oldworld.c to G3 beige

The G3 B&W is a new world machine. The machine currently implemented is
actually closer to a G3 beige.

Also swith the MacIO from Paddigton (new world) to Heathrow (old world).

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6228 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Purify some of the flag evaluation helpers.
edgar_igl [Wed, 7 Jan 2009 23:38:41 +0000 (23:38 +0000)]
CRIS: Purify some of the flag evaluation helpers.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6227 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoETRAX: Always provide a valid net model.
edgar_igl [Wed, 7 Jan 2009 22:46:50 +0000 (22:46 +0000)]
ETRAX: Always provide a valid net model.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6226 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCRIS: Enable NTPL.
edgar_igl [Wed, 7 Jan 2009 20:07:09 +0000 (20:07 +0000)]
CRIS: Enable NTPL.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6225 c046a42c-6fe2-441c-8c8c-71466251a162