Statistics
| Branch: | Revision:

root / hw @ c76ee25d

# Date Author Comment
c76ee25d 01/15/2009 08:57 pm aurel32

cuda: fix indentation

Signed-off-by: Aurelien Jarno <>

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

5703c174 01/15/2009 08:57 pm aurel32

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 <>

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

75f76531 01/14/2009 11:42 pm aurel32

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

6f1bf24d 01/14/2009 11:09 pm aurel32

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...

00766a4e 01/14/2009 08:08 pm blueswir1

Make OpenBSD sparc-softmmu compile warning free

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

b0fb43d8 01/14/2009 04:48 pm aurel32

PPC OldWorld: use a more realistic timer frequency

Signed-off-by: Aurelien Jarno <>

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

aeeb69c7 01/14/2009 04:47 pm aurel32

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

291c6ff9 01/13/2009 11:09 pm aliguori

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 <>
Signed-off-by: Anthony Liguori <>...

5a16dc63 01/13/2009 10:08 pm aurel32

sun4c/sun4d: also swap the CharDriverState of escc_init()

Forgotten in r6284

Signed-off-by: Aurelien Jarno <>

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

cb457d76 01/13/2009 09:47 pm aliguori

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 <>...

0ae18cee 01/13/2009 09:39 pm aliguori

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 <>...

f5cbc474 01/13/2009 09:08 pm aurel32

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....

6b4079f8 01/13/2009 09:08 pm aurel32

target-ppc: define max amount of memory for G3 beige

Signed-off-by: Aurelien Jarno <>

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

8a901def 01/13/2009 09:07 pm aurel32

target-ppc: fix comment about boot device in ppc_oldworld.c

Signed-off-by: Aurelien Jarno <>

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

2c3891ab 01/13/2009 05:20 pm aliguori

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...

f48c144e 01/12/2009 11:33 pm aurel32

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 <>

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

7fa9ae1a 01/12/2009 07:40 pm blueswir1

Use ESCC for PowerMac serial

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

b4ed08e0 01/12/2009 07:38 pm blueswir1

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

2aa2ab3a 01/12/2009 07:33 pm blueswir1

Rename slavio_serial to escc

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

8f180a43 01/12/2009 07:31 pm blueswir1

Fix typo

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

6ea52595 01/10/2009 04:38 pm blueswir1

Fix segfault

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

c190ea07 01/10/2009 01:33 pm blueswir1

Add EBUS bridge

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

a94fd955 01/09/2009 10:53 pm blueswir1

Fix APB

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

5652ef78 01/09/2009 03:10 pm aurel32

mips, ppc: make sure nd->model is always defined

Signed-off-by: Aurelien Jarno <>

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

e5d01b06 01/09/2009 01:01 pm aurel32

target-ppc: add an openbios-ppc image

Signed-off-by: Aurelien Jarno <>

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

6b419964 01/09/2009 08:43 am aurel32

target-ppc: revert part of commit r6254 committed accidentally

Signed-off-by: Aurelien Jarno <>

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

94410b78 01/09/2009 02:04 am edgar_igl

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 <>

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

5ab09f33 01/09/2009 01:19 am aurel32

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

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

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

c45ca54f 01/08/2009 11:03 pm aliguori

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...

5df23f53 01/08/2009 10:01 pm blueswir1

Fix IDE debug

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

554c97dd 01/08/2009 09:46 pm aliguori

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 <>
Signed-off-by: Anthony Liguori <>...

99ed7e30 01/08/2009 09:45 pm aliguori

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 <>...

8026037b 01/08/2009 08:52 pm blueswir1

Improve PCI debug support

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

59d94130 01/08/2009 08:48 pm aurel32

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 <>

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

0516ede0 01/08/2009 06:01 pm aurel32

cmd646: correctly enable IDE channels

Signed-off-by: Aurelien Jarno <>

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

5ce4aafd 01/08/2009 06:01 pm aurel32

target-ppc: move OpenBIOS machines type to ppc.h from hw/ppc_oldworld.c

Signed-off-by: Aurelien Jarno <>

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

d45952a0 01/08/2009 06:01 pm aurel32

Some more updates for the g3bw -> g3beige change

Signed-off-by: Aurelien Jarno <>

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

4d7ca41e 01/08/2009 01:38 am aurel32

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 <>...

c1e1a491 01/08/2009 12:46 am edgar_igl

ETRAX: Always provide a valid net model.

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

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

e36da912 01/07/2009 09:59 pm aliguori

Fix build breakage introduced by r6219

This was spotted by Stefan Weil.

Signed-off-by: Anthony Liguori <>

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

e46cb38f 01/07/2009 07:50 pm aliguori

virtio-net migration fix (Mark McLoughlin)

We are failing to save whether the guest will supply us rx
buffers using the new mergeable format; this can cause a
migrated guest to crash with:

virtio-net header not in first element

Bump the savevm version number and refuse to load v1 saves...

7a9f6e4a 01/07/2009 07:48 pm aliguori

Add a -net name=foo parameter (Mark McLoughlin)

Allow the user to supply a vlan client name on the command line.

This is probably only useful for management tools so that they can
use their own names rather than parsing the output of 'info network'.

Signed-off-by: Mark McLoughlin <>...

96d5e201 01/07/2009 07:47 pm aliguori

add missing MAC address to info_str for some NICs (Mark McLoughlin)

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

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

7cb7434b 01/07/2009 07:46 pm aliguori

Add qemu_format_nic_info_str() (Mark McLoughlin)

Factor out a simple little function for formatting a NIC's
info_str and make all NICs use it.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

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

bf38c1a0 01/07/2009 07:42 pm aliguori

Add a model string to VLANClientState (Mark McLoughlin)

Don't lose track of what type/model a vlan client is so that we can
e.g. assign a global per-model id to clients.

The entire patch is basically a tedious excercise in making sure the
type/model string gets propagated down to qemu_new_vlan_client()....

fa879c64 01/07/2009 07:32 pm aliguori

add "serial" parameter to -drive flag (Gleb Natapov)

Windows calculates HW "uniqueness" based on a hard drive serial number
among other things. The patch allows to specify drive serial number
from a command line.

Signed-off-by: Gleb Natapov <>...

181a29c5 01/07/2009 06:41 pm aliguori

fix usb-hid SET_IDLE behaviour (Stefano Stabellini)

the usb-hid spec states that the SET_IDLE request has a 16bit value,
where the upper byte specifies the idle rate (currently unimplemented,
we handle only the 0 case, meaning infinite duration) and the lower...

35ef81d6 01/07/2009 04:00 pm edgar_igl

ETRAX: Correct size of control-register area.

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

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

c01c07bb 01/07/2009 03:46 pm edgar_igl

ETRAX: Process out channels immediately when the channel is started.

  • Process out channels immediately when the channel is started.
  • Context descriptor load does not start a channel.
  • Store updated descriptors after processing them regardless of eol state....
70ea255d 01/07/2009 03:30 pm edgar_igl

ETRAX: Correctly update the interrupt vector when interrupts get masked.

Cannot believe this bug has been around for so long.

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

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

ab86bb3b 01/07/2009 03:24 pm edgar_igl

ETRAX: Support timer count reads and correct frequencies.

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

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

4a1e6bea 01/07/2009 03:05 pm edgar_igl

ETRAX: Add a dummy tempsensor and correct the NAND flash model.

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

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

10c144e2 01/07/2009 02:19 pm edgar_igl

ETRAX: Add a model for the axis devboard88 machine.

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

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

de553065 01/07/2009 02:13 pm edgar_igl

ETRAX: No need to mask off the I flag twice at reset.

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

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

4abc796d 01/05/2009 07:37 pm blueswir1

Add cirrus reset handler

The vga reset handler overwrites some cirrus registers, causing reboots
to corrupt cirrus state to the point that guests can only bring up 640x480
resolutions.

Fix by adding a dedicated cirrus reset handler (which calls the common vga...

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 <>...

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

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,...

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

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

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

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

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

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

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

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

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 <>...

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

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

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

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

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....

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....

80e8bd2b 12/16/2008 12:59 am aurel32

target-ppc: rename ppc405_sdram_init() to ppc4xx_sdram_init()

The SDRAM controller is shared across almost all 405 and 440 embedded
processors, with some slight differences such as the sizes supported for each
memory bank.

Rename only; no functional changes....

61b24405 12/16/2008 12:59 am aurel32

target-ppc: move PPC4xx SDRAM controller emulation from ppc405_uc.c to ppc4xx_devs.c

The SDRAM controller is shared across almost all 405 and 440 embedded
processors, with some slight differences such as the sizes supported for each
memory bank.

Code movement only; no functional changes....

09723aa1 12/15/2008 10:24 pm blueswir1

Revert part of r5853

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

997641a8 12/15/2008 04:05 am balrog

ARM: basic SX1-cellphone sysemu support (Jean-Christophe PLAGNIOL-VILLARD).

The TSC2102 chip is not included in documentation because a patch is
pending.

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

de956597 12/15/2008 03:35 am balrog

Fix the PXA2xx LCD dirty page detection a little more.

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

92fb73b9 12/14/2008 01:57 am balrog

Fix PXA2xx framebuffer dirty checking.

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

1d6198c3 12/13/2008 11:32 am blueswir1

Remove unnecessary trailing newlines

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

8de24106 12/12/2008 12:43 am aurel32

PPC405EP: fix fpga write function

I'm not familiar with this device, but I'm fairly certain the writel handler is
not supposed to recurse.

Signed-off-by: Hollis Blanchard <>
Signed-off-by: Aurelien Jarno <>

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

c78eae61 12/12/2008 12:42 am aurel32

baum: remove 2 warnings

Signed-off-by: Aurelien Jarno <>

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

9b32d5a5 12/11/2008 11:20 pm aliguori

pci: virtio: use pci id defines (Gerd Hoffman)

Use the defines added by the previous patch in the virtio drivers.
Also remove the pointless vendor and device args from the
virtio_blk_init() function.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>...

d350d97d 12/11/2008 11:15 pm aliguori

pci: add default pci subsystem id for all devices (Gerd Hoffman)

This sets a default PCI subsystem ID for all emulated PCI devices. PCI
specs require this, so do it.

In many cases it is enougth to know the PCI ID to handle a device
correctly. Sometimes a device driver must identify the exact piece of...

ad46db9a 12/11/2008 09:37 pm blueswir1

Rename fls to qemu_fls

Fix compiler warning on OSX, reported by Andreas Faerber.

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