sdk/emulator/qemu.git
16 years agoImplement nucleus quad ldda
blueswir1 [Sat, 19 Jul 2008 13:25:28 +0000 (13:25 +0000)]
Implement nucleus quad ldda

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

16 years agoPretend to be the active console while a screendump takes place (Avi Kivity).
balrog [Sat, 19 Jul 2008 13:04:26 +0000 (13:04 +0000)]
Pretend to be the active console while a screendump takes place (Avi Kivity).

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

16 years agoARMv6: fix SIMD add/sub carry flags (Vincent Palatin).
balrog [Sat, 19 Jul 2008 10:46:13 +0000 (10:46 +0000)]
ARMv6: fix SIMD add/sub carry flags (Vincent Palatin).

After a quick code review, it seems to be a bad cut-n-paste between
16-bit and 8-bit UADD/USUB, indeed UADD8/USUB8 tries to set GE bits by
pair instead of one at a time.
Besides, the addition operations (UADD8/UADD16) set GE bits to "NOT
carry" instead of "carry" (probably once again due to a copy of the
substraction code which sets flags to "NOT borrow")

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

16 years agoARM: fix CPS masks (Vincent Palatin).
balrog [Sat, 19 Jul 2008 10:34:35 +0000 (10:34 +0000)]
ARM: fix CPS masks (Vincent Palatin).

According to ARM Reference Manual (DDI0100 A4.1.16),
bit 5 is fixed to 0 (bit 4 is the MSB of the mode), so the instruction mask
should be  0x0ff10020 not 0x0ff10010.
Besides, mmod flag is bit 17 (b14 is SBZ)

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

16 years agoFix smlald, smlsld, pkhtp, pkhbt, ssat, usat, umul, smul... (Laurent Desnogues).
balrog [Sat, 19 Jul 2008 10:12:22 +0000 (10:12 +0000)]
Fix smlald, smlsld, pkhtp, pkhbt, ssat, usat, umul, smul... (Laurent Desnogues).

helper.c
 - copy reference c0_c2 to runtime c0_c2 and not c0_c1

op_helper.c
 - remove old code (PARAM1, probably some left over from old dyngen)
   that broke do_[us]sat

translate.c
 - gen_smul_dual should sign-extend from 16 bit to 32 bit and not from
   8 to 32
 - disas_arm_insn:
   * smlalxy:  that was completely wrong;  now the addition is
     performed as for smlald
   * pkhtb:  optional ASR not taken into account (similar
   * to [us]sat)
   * pkhtb/pkhbt: tmp2 is dead
   * smlald, smlsld, smuad, smusd, smlad, smlsd: rd
   * and rn swapped

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

16 years agoUpdate TLB miss addresses
blueswir1 [Sat, 19 Jul 2008 10:04:48 +0000 (10:04 +0000)]
Update TLB miss addresses

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

16 years agoAdd Virtual Distributed Ethernet native support, by Luca Bigliardi.
ths [Sat, 19 Jul 2008 09:56:24 +0000 (09:56 +0000)]
Add Virtual Distributed Ethernet native support, by Luca Bigliardi.

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

16 years agolinux-user: Fix target_statfs[64] on 64-bit hosts
balrog [Sat, 19 Jul 2008 09:38:52 +0000 (09:38 +0000)]
linux-user: Fix target_statfs[64] on 64-bit hosts

Testing qemu-x86_64, I happen to run df and came across these mistakes
in the target_statfs/target_statfs64 structure definitions (reference:
linux/include/asm-x86/statfs.h).

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

16 years agoSpecial Mask Mode for i8259 PIC (Sebastian Reichelt).
balrog [Sat, 19 Jul 2008 09:18:48 +0000 (09:18 +0000)]
Special Mask Mode for i8259 PIC (Sebastian Reichelt).

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

16 years agoAllow qemu-nbd --version to show the application name dynamically, by
ths [Fri, 18 Jul 2008 18:06:23 +0000 (18:06 +0000)]
Allow qemu-nbd --version to show the application name dynamically, by
Carlo Marcelo Arenas Belon.

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

16 years agoVarious NICs: Fix suspend/resume of multiple instances, by Jan Kiszka.
ths [Fri, 18 Jul 2008 18:02:34 +0000 (18:02 +0000)]
Various NICs: Fix suspend/resume of multiple instances, by Jan Kiszka.

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

16 years agoSmall cleanup of gen_intermediate_code(_internal), by Laurent Desnogues.
ths [Fri, 18 Jul 2008 18:01:29 +0000 (18:01 +0000)]
Small cleanup of gen_intermediate_code(_internal), by Laurent Desnogues.

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

16 years agoide: enable single word DMA, by Stefano Stabellini.
ths [Fri, 18 Jul 2008 16:49:42 +0000 (16:49 +0000)]
ide: enable single word DMA, by Stefano Stabellini.

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

16 years agoDo not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson.
ths [Fri, 18 Jul 2008 16:35:27 +0000 (16:35 +0000)]
Do not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson.

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

16 years agoDo not disturb old fd flags (eg O_APPEND) when setting nonblock, by
ths [Fri, 18 Jul 2008 16:34:43 +0000 (16:34 +0000)]
Do not disturb old fd flags (eg O_APPEND) when setting nonblock, by
Ian Jackson.

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

16 years agowrhpr hstick_cmpr is a store, not a load
blueswir1 [Fri, 18 Jul 2008 10:26:07 +0000 (10:26 +0000)]
wrhpr hstick_cmpr is a store, not a load

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

16 years agoOMAP2 EAC module.
balrog [Fri, 18 Jul 2008 07:50:20 +0000 (07:50 +0000)]
OMAP2 EAC module.

Not yet hooked up to any CODEC.

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

16 years agoRemove the NIC from vlan on usb destroy.
balrog [Thu, 17 Jul 2008 21:00:05 +0000 (21:00 +0000)]
Remove the NIC from vlan on usb destroy.

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

16 years agoAdd CDC-Ethernet usb NIC (original patch from Thomas Sailer).
balrog [Thu, 17 Jul 2008 20:47:13 +0000 (20:47 +0000)]
Add CDC-Ethernet usb NIC (original patch from Thomas Sailer).

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

16 years agoFix saving and loading of trap state
blueswir1 [Thu, 17 Jul 2008 19:17:19 +0000 (19:17 +0000)]
Fix saving and loading of trap state

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

16 years agoSupport for address masking
blueswir1 [Thu, 17 Jul 2008 12:53:05 +0000 (12:53 +0000)]
Support for address masking

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

16 years agoFix MMU registers, add more E-cache ASIs
blueswir1 [Wed, 16 Jul 2008 16:58:49 +0000 (16:58 +0000)]
Fix MMU registers, add more E-cache ASIs

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

16 years agoFix MMU miss traps
blueswir1 [Wed, 16 Jul 2008 16:55:52 +0000 (16:55 +0000)]
Fix MMU miss traps

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

16 years agoDisable OMAP2 combined-io-entries hack now that more regions are allowed.
balrog [Wed, 16 Jul 2008 13:06:53 +0000 (13:06 +0000)]
Disable OMAP2 combined-io-entries hack now that more regions are allowed.

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

16 years agoe1000: only use TSE if enabled for current packet (Anthony Xu).
balrog [Wed, 16 Jul 2008 12:39:45 +0000 (12:39 +0000)]
e1000: only use TSE if enabled for current packet (Anthony Xu).

Previously, all data descriptors used TSE context descriptor by default,
It's not correct, per spec, data descriptor uses TSE bit to indicate
whether use TSE,
Legacy data descripter never use TSE.
This patch fixed this bug.

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

16 years agoFix a bunch of type mismatch-related warnings (Jan Kiszka).
balrog [Wed, 16 Jul 2008 12:13:52 +0000 (12:13 +0000)]
Fix a bunch of type mismatch-related warnings (Jan Kiszka).

Fix a typo in my previous comming (spotted by Laurent Desnouges).

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

16 years agoFlushw can generate exceptions, so save PC & NPC
blueswir1 [Wed, 16 Jul 2008 11:51:15 +0000 (11:51 +0000)]
Flushw can generate exceptions, so save PC & NPC

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

16 years agoRemove unintended dereference, kills a warning (Jan Kiszka).
balrog [Wed, 16 Jul 2008 11:31:11 +0000 (11:31 +0000)]
Remove unintended dereference, kills a warning (Jan Kiszka).

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

16 years agoProperly byte-swap values in VMware SVGA (malc).
balrog [Wed, 16 Jul 2008 04:45:12 +0000 (04:45 +0000)]
Properly byte-swap values in VMware SVGA (malc).

Makes PPC host happy.  Also use the right type for a memory offset.

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

16 years agoMake Bochs VBE work with VMWare SVGA (malc).
balrog [Wed, 16 Jul 2008 04:38:32 +0000 (04:38 +0000)]
Make Bochs VBE work with VMWare SVGA (malc).

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

16 years agoDon't overwrite VMwareSVGA's memory region start addresses (malc).
balrog [Wed, 16 Jul 2008 04:36:48 +0000 (04:36 +0000)]
Don't overwrite VMwareSVGA's memory region start addresses (malc).

This was correct also in the Anthony Liguori's patch, but not in mine.

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

16 years agoInitialize the VMware VGA console after vga_init (Alexander Graf).
balrog [Wed, 16 Jul 2008 04:31:20 +0000 (04:31 +0000)]
Initialize the VMware VGA console after vga_init (Alexander Graf).

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

16 years agoAdd idprom
blueswir1 [Tue, 15 Jul 2008 14:54:01 +0000 (14:54 +0000)]
Add idprom

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

16 years agoReally fix cas
blueswir1 [Tue, 15 Jul 2008 14:52:09 +0000 (14:52 +0000)]
Really fix cas

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

16 years agoTerminate TB immediately after v7-M exception return.
pbrook [Fri, 11 Jul 2008 00:27:19 +0000 (00:27 +0000)]
Terminate TB immediately after v7-M exception return.

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

16 years agoLink ARM prologue closer to code segment to avoid a build failure
blueswir1 [Thu, 10 Jul 2008 17:21:31 +0000 (17:21 +0000)]
Link ARM prologue closer to code segment to avoid a build failure

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

16 years agoFix coprocessor register types.
pbrook [Thu, 10 Jul 2008 17:17:54 +0000 (17:17 +0000)]
Fix coprocessor register types.

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

16 years agoRestore old value of buffer_size
malc [Wed, 9 Jul 2008 19:25:30 +0000 (19:25 +0000)]
Restore old value of buffer_size

This brings latency down to acceptable levels when using dmix

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

16 years agoWarn about rejected buffer/period size/time when it was specified by the user
malc [Wed, 9 Jul 2008 19:25:28 +0000 (19:25 +0000)]
Warn about rejected buffer/period size/time when it was specified by the user

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

16 years agoCall proper function when trying to set period size
malc [Wed, 9 Jul 2008 19:25:24 +0000 (19:25 +0000)]
Call proper function when trying to set period size

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

16 years agoAvoid decremented overflow.
pbrook [Wed, 9 Jul 2008 15:31:50 +0000 (15:31 +0000)]
Avoid decremented overflow.

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

16 years agoUse temporary registers for the MIPS FPU emulation.
ths [Wed, 9 Jul 2008 11:05:10 +0000 (11:05 +0000)]
Use temporary registers for the MIPS FPU emulation.

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

16 years agoFix typo
malc [Tue, 8 Jul 2008 18:57:05 +0000 (18:57 +0000)]
Fix typo

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

16 years agoFix r4641 (invalid token "=<" in a preprocessor expression)
blueswir1 [Tue, 8 Jul 2008 18:35:02 +0000 (18:35 +0000)]
Fix r4641 (invalid token "=<" in a preprocessor expression)

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

16 years agoImplement some Ultrasparc cache ASIs used by SILO
blueswir1 [Tue, 8 Jul 2008 15:51:32 +0000 (15:51 +0000)]
Implement some Ultrasparc cache ASIs used by SILO

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

16 years agoEliminate spurous screen updates.
pbrook [Mon, 7 Jul 2008 23:01:25 +0000 (23:01 +0000)]
Eliminate spurous screen updates.

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

16 years agofix cvtsq2s[sd] (Juergen Lock)
bellard [Mon, 7 Jul 2008 20:25:41 +0000 (20:25 +0000)]
fix cvtsq2s[sd] (Juergen Lock)

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

16 years ago64 bit signed comparison fix (Juergen Lock)
bellard [Mon, 7 Jul 2008 20:15:54 +0000 (20:15 +0000)]
64 bit signed comparison fix (Juergen Lock)

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

16 years agoFix 64 bit constant generation
blueswir1 [Mon, 7 Jul 2008 19:34:45 +0000 (19:34 +0000)]
Fix 64 bit constant generation

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

16 years agoImprove jp106 keyboard support, by Akio Takebe.
ths [Mon, 7 Jul 2008 19:29:49 +0000 (19:29 +0000)]
Improve jp106 keyboard support, by Akio Takebe.

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

16 years agoFix typo in comment.
ths [Sat, 5 Jul 2008 21:54:32 +0000 (21:54 +0000)]
Fix typo in comment.

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

16 years agoChange MIPS machine default to Malta.
ths [Sat, 5 Jul 2008 21:51:47 +0000 (21:51 +0000)]
Change MIPS machine default to Malta.

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

16 years agoRe-add static qualifier. Fix annother occurance of "const static".
pbrook [Sat, 5 Jul 2008 17:03:54 +0000 (17:03 +0000)]
Re-add static qualifier.  Fix annother occurance of "const static".

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

16 years agoRemove static
malc [Sat, 5 Jul 2008 13:41:04 +0000 (13:41 +0000)]
Remove static

Also avoids GCC warning about old style declaration

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

16 years agoRemove >= asserts on unsigned inputs
malc [Sat, 5 Jul 2008 13:41:02 +0000 (13:41 +0000)]
Remove >= asserts on unsigned inputs

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

16 years agoAvoid signedness warnings
malc [Sat, 5 Jul 2008 13:40:58 +0000 (13:40 +0000)]
Avoid signedness warnings

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

16 years agoAdd missing return
malc [Fri, 4 Jul 2008 11:53:53 +0000 (11:53 +0000)]
Add missing return

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

16 years agoFuse EQ and NE handling in tcg_out_brcond2
malc [Thu, 3 Jul 2008 23:49:14 +0000 (23:49 +0000)]
Fuse EQ and NE handling in tcg_out_brcond2

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

16 years agoAvoid compiler warning.
ths [Thu, 3 Jul 2008 21:36:35 +0000 (21:36 +0000)]
Avoid compiler warning.

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

16 years agoFix parse_long_name, by Tristan Gingold.
ths [Thu, 3 Jul 2008 19:55:47 +0000 (19:55 +0000)]
Fix parse_long_name, by Tristan Gingold.

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

16 years agoClarified filename handling, by Johannes Schindelin.
ths [Thu, 3 Jul 2008 19:54:19 +0000 (19:54 +0000)]
Clarified filename handling, by Johannes Schindelin.

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

16 years agoMask LL portion of B to 24 bits in tcg_out_b (Thanks to Thiemo Seufer)
malc [Thu, 3 Jul 2008 18:51:23 +0000 (18:51 +0000)]
Mask LL portion of B to 24 bits in tcg_out_b (Thanks to Thiemo Seufer)

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

16 years agoConvert remaining __builtin_expect to likely/unlikely, by Jan Kiszka.
ths [Thu, 3 Jul 2008 17:57:36 +0000 (17:57 +0000)]
Convert remaining __builtin_expect to likely/unlikely, by Jan Kiszka.

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

16 years agoSilence compiler warning.
ths [Thu, 3 Jul 2008 16:40:06 +0000 (16:40 +0000)]
Silence compiler warning.

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

16 years agoAllow QEMU to connect directly to an NBD server, by Laurent Vivier.
ths [Thu, 3 Jul 2008 13:41:03 +0000 (13:41 +0000)]
Allow QEMU to connect directly to an NBD server, by Laurent Vivier.

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

16 years agoAllow to share a disk image via nbd, by Laurent Vivier.
ths [Thu, 3 Jul 2008 12:45:02 +0000 (12:45 +0000)]
Allow to share a disk image via nbd, by Laurent Vivier.

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

16 years agoAdd a parameter to disable host cache, by Laurent Vivier.
ths [Thu, 3 Jul 2008 11:47:46 +0000 (11:47 +0000)]
Add a parameter to disable host cache, by Laurent Vivier.

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

16 years agoFix typo
malc [Thu, 3 Jul 2008 11:29:15 +0000 (11:29 +0000)]
Fix typo

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

16 years agoMerge NBD client/server, by Laurent Vivier.
ths [Thu, 3 Jul 2008 10:23:51 +0000 (10:23 +0000)]
Merge NBD client/server, by Laurent Vivier.

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

16 years agoBail out if -append or -initrd is specified without -kernel, by
ths [Thu, 3 Jul 2008 10:01:15 +0000 (10:01 +0000)]
Bail out if -append or -initrd is specified without -kernel, by
Sebastian Herbszt.

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

16 years agoFix constant truncation, spotted by Jindrich Makovicka.
ths [Thu, 3 Jul 2008 04:13:24 +0000 (04:13 +0000)]
Fix constant truncation, spotted by Jindrich Makovicka.

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

16 years agoFix ATAPI read drive structure command, by Alex Williamson.
ths [Thu, 3 Jul 2008 03:57:14 +0000 (03:57 +0000)]
Fix ATAPI read drive structure command, by Alex Williamson.

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

16 years agoRemove stray local "speedup" hack
malc [Wed, 2 Jul 2008 21:25:53 +0000 (21:25 +0000)]
Remove stray local "speedup" hack

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

16 years agoCleanup qemu-nbd related code, by Laurent Vivier.
ths [Wed, 2 Jul 2008 21:18:00 +0000 (21:18 +0000)]
Cleanup qemu-nbd related code, by Laurent Vivier.

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

16 years agoAdd -MT
malc [Wed, 2 Jul 2008 21:16:22 +0000 (21:16 +0000)]
Add -MT

Unbreaks dependency generation for audio, slirp and tests

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

16 years agoPulseaudio driver
malc [Wed, 2 Jul 2008 21:03:08 +0000 (21:03 +0000)]
Pulseaudio driver

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

16 years agoFix test arguments (Jeremy C. Reed)
malc [Wed, 2 Jul 2008 18:13:46 +0000 (18:13 +0000)]
Fix test arguments (Jeremy C. Reed)

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

16 years agoAdd NULL argument to SNDCTL_DSP_NONBLOCK ioctl call
malc [Wed, 2 Jul 2008 18:03:12 +0000 (18:03 +0000)]
Add NULL argument to SNDCTL_DSP_NONBLOCK ioctl call

Comes from here:
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/emulators/qemu/patches/patch-am?rev=1.2&content-type=text/x-cvsweb-markup

http://manuals.opensound.com/developer/SNDCTL_DSP_NONBLOCK.html
No explanation for NULL given.

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

16 years agoSave/restore for stellaris boards.
pbrook [Wed, 2 Jul 2008 16:48:32 +0000 (16:48 +0000)]
Save/restore for stellaris boards.

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

16 years agoARMv7-M interrupt stack alignment fix.
pbrook [Wed, 2 Jul 2008 16:44:09 +0000 (16:44 +0000)]
ARMv7-M interrupt stack alignment fix.

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

16 years agoFix NetBSD keyboard problem
blueswir1 [Wed, 2 Jul 2008 15:17:21 +0000 (15:17 +0000)]
Fix NetBSD keyboard problem

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

16 years agoAdd rigid and flexible disk geometry page support
blueswir1 [Wed, 2 Jul 2008 15:16:18 +0000 (15:16 +0000)]
Add rigid and flexible disk geometry page support

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

16 years agoFix i2c save/restore.
pbrook [Tue, 1 Jul 2008 23:16:53 +0000 (23:16 +0000)]
Fix i2c save/restore.

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

16 years agoFix typo.
pbrook [Tue, 1 Jul 2008 21:53:33 +0000 (21:53 +0000)]
Fix typo.

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

16 years agoRemove duplicate device index calculations.
pbrook [Tue, 1 Jul 2008 21:31:54 +0000 (21:31 +0000)]
Remove duplicate device index calculations.

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

16 years agoMove interrupt_request and user_mode_only to common cpu state.
pbrook [Tue, 1 Jul 2008 20:01:19 +0000 (20:01 +0000)]
Move interrupt_request and user_mode_only to common cpu state.
Save and restore env->interrupt_request and env->halted.

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

16 years agoFix DMA length bug seen with NetBSD (Cliff Wright)
blueswir1 [Tue, 1 Jul 2008 19:28:23 +0000 (19:28 +0000)]
Fix DMA length bug seen with NetBSD (Cliff Wright)

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

16 years agoblock-vvfat.c - fix is_free predicate, by Tristan Gingold.
ths [Tue, 1 Jul 2008 16:44:58 +0000 (16:44 +0000)]
block-vvfat.c - fix is_free predicate, by Tristan Gingold.

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

16 years agoAdd missing return in arm-semi, by Laurent Desnogues.
ths [Tue, 1 Jul 2008 16:40:04 +0000 (16:40 +0000)]
Add missing return in arm-semi, by Laurent Desnogues.

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

16 years agoStatic'ify some functions, and use standard inline in translate.c.
ths [Tue, 1 Jul 2008 16:37:52 +0000 (16:37 +0000)]
Static'ify some functions, and use standard inline in translate.c.

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

16 years agoImplement resolution switching in common console code.
pbrook [Tue, 1 Jul 2008 16:24:38 +0000 (16:24 +0000)]
Implement resolution switching in common console code.

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

16 years agoDelete duplicate code.
ths [Tue, 1 Jul 2008 08:45:45 +0000 (08:45 +0000)]
Delete duplicate code.

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

16 years agoFix rdtsc instruction counting.
pbrook [Mon, 30 Jun 2008 17:51:26 +0000 (17:51 +0000)]
Fix rdtsc instruction counting.

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

16 years agoSpelling fixes, spotted by Stuart Brady.
ths [Mon, 30 Jun 2008 17:22:19 +0000 (17:22 +0000)]
Spelling fixes, spotted by Stuart Brady.

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

16 years agoMove CPU save/load registration to common code.
pbrook [Mon, 30 Jun 2008 16:31:04 +0000 (16:31 +0000)]
Move CPU save/load registration to common code.

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

16 years agoCRIS: Correct writes to TLB hi.
edgar_igl [Mon, 30 Jun 2008 15:27:47 +0000 (15:27 +0000)]
CRIS: Correct writes to TLB hi.

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

16 years agoAvoid refering to CRIS specific cpu-state to be able to use these blocks with other...
edgar_igl [Mon, 30 Jun 2008 11:51:12 +0000 (11:51 +0000)]
Avoid refering to CRIS specific cpu-state to be able to use these blocks with other cores.

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

16 years agoMake bcond and btarget TCG registers.
ths [Mon, 30 Jun 2008 11:30:34 +0000 (11:30 +0000)]
Make bcond and btarget TCG registers.

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

16 years agoAvoid CRIS related warnings by Jan Kiszka.
edgar_igl [Mon, 30 Jun 2008 08:59:49 +0000 (08:59 +0000)]
Avoid CRIS related warnings by Jan Kiszka.

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

16 years agoSuppress bogus compiler warnings.
pbrook [Sun, 29 Jun 2008 15:25:29 +0000 (15:25 +0000)]
Suppress bogus compiler warnings.

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