Statistics
| Branch: | Revision:

root @ fad6cb1a

# Date Author Comment
fad6cb1a 01/05/2009 12:05 am aurel32

Update FSF address in GPL/LGPL boilerplate

The attached patch updates the FSF address in the GPL/LGPL boilerplate
in most GPL/LGPLed files, and also in COPYING.LIB.

Signed-off-by: Stuart Brady <>
Signed-off-by: Aurelien Jarno <>...

80e1b265 01/04/2009 05:45 pm edgar_igl

CRIS: Dont flush kernel protected pages when modifying $pid.

Signed-off-by: Edgar E. Iglesias <>

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

bf91ada5 01/04/2009 05:42 pm edgar_igl

CRIS: Remove unused pfn member from mmu translation results.

Signed-off-by: Edgar E. Iglesias <>

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

4c5e8c5c 01/04/2009 12:56 pm blueswir1

Fix VGA screen dump

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

6fa724a3 01/03/2009 04:04 pm aurel32

Add vscr access macros.

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

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

e4039339 01/03/2009 03:31 pm aurel32

Add v{min, max}{s, u}{b, h, w} instructions.

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

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

fab3cbe9 01/03/2009 03:31 pm aurel32

Add vavg{s,u}{b,h,w} instructions.

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

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

7872c51c 01/03/2009 03:31 pm aurel32

Add v{add,sub}u{b,h,w}m instructions.

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

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

8e27dd6f 01/03/2009 03:31 pm aurel32

Add GEN_VXFORM macro for subsequent instructions.

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

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

d6a46fe8 01/03/2009 03:31 pm aurel32

Add helper macros for later patches.

Remove N_ELEMS, VECTOR_FOR, and VECTOR_FOR_I macros. Retain the
VECTOR_FOR_INORDER_I macros as the clearest way of expressing the intent
of iterating over elements in their stored target-endian order.

Signed-off-by: Nathan Froyd <>...

e4704b3b 01/03/2009 03:31 pm aurel32

Fix TCG error in gen_avr_ptr.

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

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

eaa449b9 01/03/2009 03:14 pm aurel32

Fix qemu endless loop when raising a SIGSEGV/SIGBUS signal with gdbstub in user emulation

When a SIGSEGV signal is raised in user mode emulation the current
test to know whether the signal is sent by the kernel is wrong :

info->si_code == SI_KERNEL

according to /usr/include/bits/siginfo.h it should be...

5d04f23b 01/03/2009 02:36 pm aurel32

tcg: remove tcg_global_reg2_new_hack()

This patch removes the unused tcg_global_reg2_new_hack() function, which
was added in r4438 to work around a register shortage problem regarding
dyngen. The only ever user of this function was removed in r4577.

Signed-off-by: Stuart Brady <>...

40e8a53b 01/03/2009 02:35 pm aurel32

Fix and rearrange 'tarbin' Makefile rule

This patch fixes the 'tarbin' Makefile rule (which was broken due to
a missing '\' for line-continuation), and also rearranges that rule to
match the ordering that is used in the configure script, so that the
list can be checked more easily, to avoid conflicts, etc....

f53bca18 01/03/2009 02:35 pm aurel32

TCG: Fix documentation of qemu_ld/st ops

The functions defined in tcg/tcg-op.h have no _i32 or _i64 suffix,
qemu_ld64 and qemu_st64 were missing from the list, and there are
no 'plain' qemu_ld/qemu_st ops.

Signed-off-by: Stuart Brady <>...

501e23c4 01/03/2009 02:35 pm aurel32

target-ppc: fix TGC type mismatch introduced by r6146

Signed-off-by: Aurelien Jarno <>

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

df9247b2 01/01/2009 04:09 pm aurel32

tcg_temp_local_new should take no parameter

This patch removes useless type information in some calls to
tcg_temp_local_new. It also removes the parameter from the
macro declaration; if a target has to use a specific non-default
size then it should use tcg_temp_local_new_{i32,i64}....

c6945b15 01/01/2009 03:03 pm aurel32

target-mips: DMA support for RC4030 chipset

Attached patch implements DMA support to RC4030 chipset and simplifies
jazz IO part (at 0xf0000000), where registers contain 16 bit values.
Config register has not a clear meaning (only one value is always valid,...

3aa9bd6c 12/31/2008 06:55 pm blueswir1

Add Sparc define checks

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

a456d59c 12/30/2008 09:01 pm blueswir1

VM load/save support for PPC CPU

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

9b64997f 12/30/2008 09:01 pm blueswir1

VM load/save support for PPC devices

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

ac0df51d 12/29/2008 07:14 pm aliguori

Parse --cc and --cross-prefix earlier and use CC to determine cpu and host

We have been relying on uname to determine the host cpu architecture and
operating system. This is totally broken for cross compilation. It was
workable in the past because you can manually override both settings but after...

0a6f8a6d 12/29/2008 04:39 pm edgar_igl

CRIS: Remove CRIS specific do_unassigned_access.

Signed-off-by: Edgar E. Iglesias <>

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

572c8952 12/29/2008 11:47 am aurel32

target-ppc: improve correctness of the fsel instruction

Signed-off-by: Aurelien Jarno <>

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

a16b45e7 12/29/2008 11:46 am aurel32

target-ppc: fix stsw/stswi instructions

Signed-off-by: Aurelien Jarno <>

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

83479693 12/28/2008 11:05 pm blueswir1

Fix warning introduced by r6136

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

6e6b7363 12/28/2008 08:27 pm blueswir1

Register reset handlers

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

b4e237aa 12/28/2008 05:45 pm blueswir1

Suppress a -Werror=format-security warning

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

60cbfb95 12/28/2008 03:14 pm blueswir1

Fix -Werror=format-security warning (Frederik Himpe/Lennert Buytenhek)

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

bd89f43f 12/27/2008 01:05 am aurel32

target-ppc: workaround OpenBIOS limitation

Signed-off-by: Aurelien Jarno <>

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

3f7cbbbd 12/27/2008 01:05 am aurel32

target-ppc: fix PowerMAC NVRAM emulation

Signed-off-by: Aurelien Jarno <>

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

52f163b7 12/24/2008 10:30 pm blueswir1

Fix kernel loading

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

271dd5e0 12/24/2008 10:29 pm blueswir1

Use the firmware configuration device

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

95efd11c 12/24/2008 10:26 pm blueswir1

Add support for -prom-env command line options

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

992e5acd 12/24/2008 10:23 pm blueswir1

Use OpenBIOS for g3bw machine

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

fe096129 12/24/2008 10:21 pm blueswir1

Sun4m use 0 for nonexistent devices (Robert Reif)

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

ea026b2f 12/24/2008 11:38 am blueswir1

Improve PPC device debugging

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

4017190e 12/23/2008 05:30 pm blueswir1

Add SuperSPARC MMU breakpoint registers (Robert Reif)

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

0bb3602c 12/23/2008 05:08 pm blueswir1

Implement hw/eccmemctl.c version differences (Robert Reif)

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

963262de 12/23/2008 05:06 pm blueswir1

Better SuperSPARC emulation (Robert Reif)

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

8fa211e8 12/23/2008 10:47 am blueswir1

Implement tick interrupt disable bits

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

69dd5c9f 12/22/2008 11:06 pm aliguori

Properly handle the case of SetPixelEncodings with a length of zero.

This commit addresses CORE-2008-1210/CVE-2008-2382.

Signed-off-by: Anthony Liguori <>

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

b1503cda 12/22/2008 10:33 pm malc

Use the ARRAY_SIZE() macro where appropriate.

Change from v1:
Avoid changing the existing coding style in certain files.

Signed-off-by: Stuart Brady <>

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

5626b017 12/21/2008 06:00 pm blueswir1

hw/slavio_misc.c remove address from debug trace (Robert Reif)

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

7b169687 12/21/2008 12:46 pm blueswir1

add Arbiter Enable Register support to sparc iommu (Robert Reif)

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

f3c62823 12/21/2008 03:37 am aliguori

Update to latest Bochs BIOS

A number of our patches have been merged so we can now remove them from our
queue.

Signed-off-by: Anthony Liguori <>

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

68d5736a 12/21/2008 03:30 am aliguori

Remove obsolete VGABIOS patch.

Signed-off-by: Anthony Liguori <>

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

e872aa81 12/21/2008 01:41 am aurel32

softfloat-native: fix type of float_rounding_mode

fegetround() and fesetround() are using an int type. Change the type of
float_rounding_mode and floatx80_rounding_precision in the float_status
structure for consistency.

Signed-off-by: Aurelien Jarno <>...

a748ab6d 12/21/2008 01:40 am aurel32

target-ppc: modify hw/ppc_oldword.c to use qemu_ram_alloc()

This patch uses qemu_ram_alloc() to allocate RAM, VGA RAM and VGA BIOS.

Signed-off-by: Blue Swirl <>
Signed-off-by: Laurent Vivier <>
Signed-off-by: Aurelien Jarno <>...

f2fde45a 12/21/2008 01:39 am aurel32

target-ppc: default to a G3 cpu when emulating a G3 PowerMac

Signed-off-by: Aurelien Jarno <>

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

33a84765 12/20/2008 09:44 pm ths

A first attempt on supporting snapshots for the MIPS target.

Signed-off-by: Thiemo Seufer <>

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

f9480ffc 12/20/2008 09:42 pm ths

Fix remaining compiler warnings for mips targets.

Signed-off-by: Stefan Weil <>

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

dfb5e54b 12/19/2008 08:59 pm aliguori

Add patch to allow Bochs patch queue to be built from another directory.

Signed-off-by: Anthony Liguori <>

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

f5dc4c7c 12/19/2008 06:22 pm aliguori

Add BIOS build instructions (Andre Przywara)

aliguori: did a little indenting and motion for aesthics.

Signed-off-by: Andre Przywara <>
Signed-off-by: Anthony Liguori <>

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

ebd7fc50 12/19/2008 06:17 pm aliguori

Make sure ACPI structures are byte-aligned

Apparently, guests are very tolerant of corrupt ACPI tables because our
tables have been badly corrupted for some time now. A version of
Knoppix using a 2.6.11 kernel refused to boot and it turned out it was
due to the interrupt override table introduced by the recent HPET...

fe76d976 12/19/2008 04:33 pm pbrook

Implement flush-to-zero mode (denormal results are replaced with zero).

Signed-off-by: Paul Brook <>

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

5c7908ed 12/19/2008 03:53 pm pbrook

Implement default-NaN mode.

Signed-off-by: Paul Brook <>

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

a49ea279 12/19/2008 03:37 pm pbrook

Implement ARMv7 cp15 cache ID registers.

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

fe1479c3 12/19/2008 03:18 pm pbrook

Implement (very) basic Thumb2-EE support. This doesn't actually implement
EE state, just the associated system coprocessor registers. It is sufficient
to keep OS setup and context switching code happy.

Signed-off-by: Paul Brook <>
...

644ad806 12/19/2008 03:02 pm pbrook

Fix VFP fixed point conversion routines.

Signed-off-by: Paul Brook <>

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

69397542 12/19/2008 02:59 pm pbrook

Correctly normalize values and handle zero inputs to scalbn functions.

Signed-off-by: Paul Brook <>

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

731abc0d 12/19/2008 02:57 pm edgar_igl

ETRAX: Correct the frequency of the free-running counter.

Signed-off-by: Edgar E. Iglesias <>

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

9a3ea654 12/19/2008 02:49 pm pbrook

When icount is used and a TB is recompiled due to an IO access
shortly after an IRQ has been raised, env
>exception_index will still be set
to EXCP_IRQ when cpu_io_recompile calls cpu_resume_from_signal.
This causes qemu to repeat the IRQ trap, with disasterous consequences....

d4934d18 12/19/2008 02:39 pm pbrook

Implement ARMv7 MMU access permissions.

Signed-off-by: Paul Brook <>

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

564e571a 12/19/2008 12:51 am aurel32

target-ppc: add gen_avr_ptr function.

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

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

e33e94f9 12/19/2008 12:44 am aurel32

target-ppc: use float_flag_divbyzero instead of checking the operands

Signed-off-by: Aurelien Jarno <>

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

ca587a8e 12/19/2008 12:44 am aurel32

User-mode GDB stub improvements - handle signals

Handle signals in the user-mode GDB stub. Report them to GDB, and
allow it to change or cancel them. Also correct the protocol numbering;
it happens to match Linux numbering for SIGINT and SIGTRAP, but that's...

2b1319c8 12/19/2008 12:44 am aurel32

User-mode GDB stub improvements - handle fork

Close gdbserver in child processes, so that only one stub tries to talk
to GDB at a time. Updated from an earlier patch by Paul Brook.

Signed-off-by: Daniel Jacobowitz <>
Signed-off-by: Aurelien Jarno <>...

6f9c5ee7 12/19/2008 12:43 am aurel32

new monitor func status

Attached is a small patch that adds the new info subcommand - status.

The status indicates if the VM is running or paused this info makes
life for (stateless) Qemu/KVM frontends easier.

(Philipp Wehrheim)

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

f54825cc 12/19/2008 12:43 am aurel32

consolidate definition for tap script and smb support

Since the introduction of net.c in r5581 there had been 2 places where
the location of the TAP helper scripts and SMB daemon are defined.

The following patch move those definitions to net.h so they are accessible...

475dc65f 12/19/2008 12:43 am aurel32

PCI: Mask writes to RO bits in the command reg of PCI config space

The Command register in the PCI config space has some read-only bits.
Any writes to those bits should be masked out.

Signed-off-by: Amit Shah <>
Signed-off-by: Aurelien Jarno <>...

8098ed41 12/19/2008 12:43 am aurel32

PCI: Mask writes to RO bits in the status reg of PCI config space

The Status register in the PCI config space has some read-only bits.
Any writes to those bits should be masked out.

Signed-off-by: Amit Shah <>
Signed-off-by: Aurelien Jarno <>...

2231ef10 12/19/2008 12:43 am aurel32

target-ppc: fix type of spe_acc.

ACC is a 64-bit register and needs to be specified as such regardless of
the target.

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

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

dadd71a7 12/19/2008 12:43 am aurel32

fp: fix float32_is_infinity()

Thanks to Laurent Desnogues for the hint.

Signed-off-by: Aurelien Jarno <>

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

9326a95c 12/19/2008 12:43 am aurel32

target-ppc: fix a typo

Signed-off-by: Aurelien Jarno <>

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

7a9b96cf 12/19/2008 12:42 am aurel32

target-ppc: add Altivec logical operations

Use opc2/opc3 instead of one big xo field. Do this consistency with the
rest of translate.c

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

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

a9c11522 12/19/2008 12:42 am aurel32

KVM: Silence unused s warning

Move s under #ifdef to avoid compiler warning.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Aurelien Jarno <>

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

c50c2d68 12/19/2008 12:42 am aurel32

Remove trailing spaces introduced by commit 6081

Signed-off-by: Aurelien Jarno <>

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

bf4f74c0 12/19/2008 12:42 am aurel32

Fix warnings introduced by commit 6081

Signed-off-by: Aurelien Jarno <>

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

6c01bf6c 12/19/2008 12:42 am aurel32

target-ppc: fix fres, fsqrte and remove useless code

- fres and fsqrte should not assign a float32 number to a float64 value.
- fre, fres and fsqrte are checking for cases already taken into account
by softfloat and softfloat native. Remove those useless tests....

1fd31ad7 12/18/2008 03:56 am aliguori

Fix the build for non-x86/ppc targets

Since pci.c creates network devices, anything that links against pci.c
(everything) has to link against all network devices. Since virtio-net
also requires virtio, we might as well link every target against all of
the virtio devices....

16b29ae1 12/18/2008 01:28 am aliguori

Add HPET emulation to qemu (Beth Kon)

This patch adds HPET emulation. It can be disabled with -disable-hpet. An hpet
provides a more finely granular clocksource than otherwise available on PC.
This means that latency-dependent applications (e.g. multimedia) will generally...

0bacd130 12/18/2008 12:32 am aliguori

Handle suspend in qemu (Gleb Natapov)

Reset a PC and tell BIOS that resume from ram is required on the next boot.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Anthony Liguori <>

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

6f484e73 12/18/2008 12:29 am aliguori

Update VGA BIOS

Now built from the kernel.org git tree.

Signed-off-by: Anthony Liguori <>

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

11570ed3 12/18/2008 12:15 am aliguori

Use kernel.org git mirror instead of repo.or.cz. The kernel.org git
mirror is updated more regularly and reliably.

Signed-off-by: Anthony Liguori <>

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

ca7b25e3 12/17/2008 11:35 pm aliguori

Update to the latest Bochs BIOS

Update the PC BIOS to the latest version, split out the patches into
patch series, and update the README to point to the new location of the
Bochs BIOS source tree.

Also update the gitignore to allow the patch queue directory to be used....

44d3749c 12/17/2008 11:32 pm aliguori

This should have been added in Gerd's previous commit.

Signed-off-by: Anthony Liguori <>

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

4689f4b3 12/17/2008 09:45 pm aliguori

Use saner types for virtio-net

This was spotted by malc

Signed-off-by: Anthony Liguori <>

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

b535b7b2 12/17/2008 09:17 pm aliguori

Add support for tap vectored send

This is adapted from kvm-userspace. It allows readv to be used with tap when
the host supports it.

Signed-off-by: Anthony Liguori <>

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

fbe78f4f 12/17/2008 09:13 pm aliguori

virtio-net support

This adds virtio-net support. This is based on the virtio-net driver
that exists in kvm-userspace. This also adds a new qemu_sendv_packet
which virtio-net requires.

Signed-off-by: Anthony Liguori <>

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

fc9902d9 12/17/2008 09:00 pm malc

Do not rely on BSD style echo (which accepts -n option)

http://www.opengroup.org/onlinepubs/7990989775/xcu/echo.html

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

08c119ef 12/17/2008 02:33 am pbrook

Mark bamboo.dtb as a binary file.

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

a96fd755 12/17/2008 02:03 am aurel32

Add bamboo.dtb compiled from bamboo.dts

Signed-off-by: Aurelien Jarno <>

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

01feec08 12/16/2008 12:44 pm aurel32

target-ppc: add comments about constants introduced in revision 6046

Signed-off-by: Aurelien Jarno <>

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

f9664682 12/16/2008 12:44 pm aurel32

target-ppc: fix a typo introduced in revision 6058

Signed-off-by: Aurelien Jarno <>

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

2c9fade2 12/16/2008 12:44 pm aurel32

target-ppc: IBM PowerPC 440EP Bamboo reference board emulation

Since most IO devices are integrated into the 440EP chip, "Bamboo support"
mostly entails implementing the -kernel, -initrd, and -append options.

These options are implemented by loading the guest as if u-boot had done it,...

75dd595b 12/16/2008 12:44 pm aurel32

target-ppc: PowerPC 440EP SoC emulation

Wire up the system-on-chip devices present on 440EP chips.

This patch is a little unusual in that qemu doesn't actually emulate the 440
core, but we use this board code with KVM (which does). If/when 440 core
emulation is supported, the kvm_enabled() hack can be removed....

d76d1650 12/16/2008 12:43 pm aurel32

target-ppc: Enable KVM for ppcemb.

Implement hooks called by generic KVM code.

Also add code that will copy the host's CPU and timebase frequencies to the
guest, which is necessary on KVM because the guest can directly access the
timebase.

Signed-off-by: Hollis Blanchard <>...

f652e6af 12/16/2008 12:43 pm aurel32

Implement device tree support needed for Bamboo emulation

To implement the -kernel, -initrd, and -append options, 4xx board emulation
must load the guest kernel as if firmware had loaded it. Where u-boot would be
the firmware, we must load the flat device tree into memory and set key fields...

b7da58fd 12/16/2008 01:15 am aurel32

target-ppc: create a helper function to allow more flexible RAM allocation for PPC 4xx

The 4xx SDRAM controller supports a small number of banks, and each bank must
be one of a small set of sizes. The number of banks and the supported sizes
varies by SoC....