Statistics
| Branch: | Revision:

root / hw @ 81486b55

# Date Author Comment
81486b55 06/12/2011 10:33 am Jan Kiszka

pci: Update pci_regs header

Pulls in latest version from kernel 3.0-rc2.

Some changes around AER now require local defines as QEMU accesses the
error source identification register via sub-words.

CC: Isaku Yamahata <>
Signed-off-by: Jan Kiszka <>...

24b856ca 06/12/2011 10:33 am Isaku Yamahata

hw/wdt_i6300esb.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

3ec39b2d 06/12/2011 10:33 am Isaku Yamahata

hw/xio3130_downstream.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

5844997a 06/12/2011 10:33 am Isaku Yamahata

hw/xio3130_upstream.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

e75ccf2c 06/12/2011 10:33 am Isaku Yamahata

virtio-pci.c: convert to PCIDEviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

7157e2e2 06/12/2011 10:33 am Stefan Hajnoczi

virtio: guard against negative vq notifies

The virtio_queue_notify() function checks that the virtqueue number is
less than the maximum number of virtqueues. A signed comparison is used
but the virtqueue number could be negative if a buggy or malicious guest...

d3674c57 06/12/2011 10:33 am Jason Wang

virtio: correctly initialize vm_running

Current vm_running was not explicitly initialized and its value was changed by
vm state notifier, this may confuse the virtio device being hotplugged such as
virtio-net with vhost backend as it may think the vm was not running. Solve this...

4dad7f1e 06/12/2011 10:33 am Jan Kiszka

msi: Fix copy&paste mistake in msi_uninit

Signed-off-by: Jan Kiszka <>
Signed-off-by: Michael S. Tsirkin <>

d7b61ecc 06/12/2011 10:33 am Isaku Yamahata

hw/unin_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

a8eae585 06/12/2011 10:33 am Isaku Yamahata

hw/usb-ohci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

56fe6408 06/12/2011 10:33 am Isaku Yamahata

hw/versatile_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

32902772 06/12/2011 10:33 am Isaku Yamahata

hw/vga-pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

1cf0d2b8 06/12/2011 10:33 am Isaku Yamahata

hw/vt82c686.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

d7dccd11 06/12/2011 10:33 am Isaku Yamahata

hw/pcnet-pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

146beee5 06/12/2011 10:33 am Isaku Yamahata

hw/piix4.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

3a9d8549 06/12/2011 10:33 am Isaku Yamahata

hw/piix_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

96c05abc 06/12/2011 10:33 am Isaku Yamahata

hw/qxl.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

7cba16a7 06/12/2011 10:33 am Isaku Yamahata

hw/rtl8139.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

ae2ebad7 06/12/2011 10:33 am Isaku Yamahata

hw/sh_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

e8b36ba9 06/12/2011 10:33 am Isaku Yamahata

hw/sun4u.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

c04ca075 06/12/2011 10:33 am Isaku Yamahata

hw/ide/cmd646.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

03f1c143 06/12/2011 10:33 am Isaku Yamahata

hw/ide/ich.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

65ff544b 06/12/2011 10:33 am Isaku Yamahata

hw/ide/via.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

d15fda63 06/12/2011 10:33 am Isaku Yamahata

hw/intel-hda.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

3d0b1e70 06/12/2011 10:33 am Isaku Yamahata

hw/ioh3420.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

7aff0f21 06/12/2011 10:33 am Isaku Yamahata

hw/ivshmem.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

af5374aa 06/12/2011 10:33 am Isaku Yamahata

hw/lsi53c895a.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

18f1c729 06/12/2011 10:33 am Isaku Yamahata

hw/ne2000.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

580b7295 06/12/2011 10:33 am Isaku Yamahata

hw/acpi_piix4.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

51387f86 06/12/2011 10:33 am Isaku Yamahata

hw/bonito.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

5b96d8f9 06/12/2011 10:33 am Isaku Yamahata

hw/cirrus_vga.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

e72d5c9d 06/12/2011 10:33 am Isaku Yamahata

hw/e1000.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

0b8c537f 06/12/2011 10:33 am Isaku Yamahata

hw/es1370.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

a614f52d 06/12/2011 10:33 am Isaku Yamahata

hw/grackle_pci.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

231f5f43 06/12/2011 10:33 am Isaku Yamahata

hw/gt64xxx.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

e7b9bc3e 06/12/2011 10:33 am Isaku Yamahata

dec_pci: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

92f9a4f1 06/12/2011 10:33 am Isaku Yamahata

apb_pci: convert to PCIDeviceInfo to initialize ids

Use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

25f8e2f5 06/12/2011 10:33 am Isaku Yamahata

ide/piix: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

310faaed 06/12/2011 10:33 am Isaku Yamahata

vmware_vga.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

0647b949 06/12/2011 10:33 am Isaku Yamahata

hw/ac97.c: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

113f89df 06/12/2011 10:33 am Isaku Yamahata

pci: move ids of config space into PCIDeviceInfo

vender id/device id... in configuration space are read-only registers
which are commonly defined for all pci devices.
So move those initialization into common place.

Signed-off-by: Isaku Yamahata <>...

dc638fad 06/12/2011 10:33 am Isaku Yamahata

usb-uhci: convert to PCIDEviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

ad03502b 06/12/2011 10:33 am Isaku Yamahata

eepro100: convert to PCIDeviceInfo to initialize ids

use PCIDeviceInfo to initialize ids.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

69c8944f 05/16/2011 02:23 pm Michael S. Tsirkin

ich/ahci: fix uninitialized memory use

The commit 667bb59d2358daeef179583c944becba3f1f9680
uses d->ahci.mem before it is initialized by
ahci_init(). Fix this by calling ahci_init() first thing
so that it's safe to use all fields in the ahci state struct....

5300f1a5 05/05/2011 04:39 pm Michael S. Tsirkin

Merge remote branch 'origin/master' into pci

Conflicts:
exec.c

602ef4d9 05/05/2011 04:11 pm Jan Kiszka

pci: Add class 0x403 as 'audio controller'

Used by HD audio controllers like our intel-hda.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Michael S. Tsirkin <>

45fe15c2 05/05/2011 04:10 pm Jan Kiszka

MSI: Robust resource release

msi_init may fail, so we need to check on uninit if the cap was
actually installed. This also avoids that the users need to check.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Michael S. Tsirkin <>

27a05006 05/05/2011 04:05 pm Stefan Weil

eepro100: Support byte/word writes to pointer register

pointer is a 32 bit register, but may be written using 8 or 16 bit writes.
Add support for byte/word writes.

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael S. Tsirkin <>

0113f48d 05/05/2011 04:05 pm Stefan Weil

eepro100: Support byte/word read/write access to MDI control register

MDI control is a 32 bit register, but may be read or written using
8 or 16 bit access. Data is latched when the MSB is written.

Add support for byte/word read/write access.

Signed-off-by: Stefan Weil <>...

a39bd017 05/05/2011 04:05 pm Stefan Weil

eepro100: Support byte read access to general control register

The general control register is a byte register.
Add support for byte reads.

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael S. Tsirkin <>

072476ea 05/05/2011 04:05 pm Stefan Weil

eepro100: Support 32 bit read/write access to flash register

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael S. Tsirkin <>

e5e23ab8 05/05/2011 04:05 pm Stefan Weil

eepro100: Fix endianness issues

Like other Intel devices, e100 (eepro100) uses little endian byte order.

This patch was tested with these combinations:

i386 host, i386 + mipsel guests (le-le)
mipsel host, i386 guest (le-le)
i386 host, mips + ppc guests (le-be)...

3fd3d0b4 05/05/2011 04:05 pm Stefan Weil

eepro100: Support byte/word writes to port address

port is a 32 bit register, but may be written using 8 or 16 bit writes.
Add support for byte/word writes.

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael S. Tsirkin <>

792f1d63 05/05/2011 04:04 pm Stefan Weil

eepro100: Pad received short frames

QEMU sends frames smaller than 60 bytes to ethernet nics.
Such frames are rejected by real NICs and their emulations.
To avoid this behaviour, other NIC emulations pad received
frames. This patch enables this workaround for eepro100, too....

27112f18 05/05/2011 03:50 pm Stefan Weil

eepro100: Remove unused structure element

cppcheck reports that 'packet' is unused.

It was only used to calculate the size of the preceding data.
Removing it saves a lot of stack space (local variable rx).

Signed-off-by: Stefan Weil <>...

77bee84e 05/05/2011 03:50 pm Stefan Weil

eepro100: Remove type casts which are no longer needed

Signed-off-by: Stefan Weil <>
Signed-off-by: Michael S. Tsirkin <>

1b4f97d6 05/05/2011 03:49 pm Stefan Weil

eepro100: Avoid duplicate debug messages

When DEBUG_EEPRO100 was enabled, unsupported writes were logged twice.
Now logging in eepro100_write1 and eepro100_write2 is similar to the
logging in eepro100_write4 (which already was correct).

Signed-off-by: Stefan Weil <>...

a7acf552 05/03/2011 12:29 pm Amit Shah

atapi: Move comment to proper place

Move misplaced comment for media_is_dvd()

Signed-off-by: Amit Shah <>
Signed-off-by: Kevin Wolf <>

4a737d14 05/03/2011 12:29 pm Amit Shah

atapi: Explain why we need a 'media not present' state

After the re-org of the atapi code, it might not be intuitive for a
reader of the code to understand why we're inserting a 'media not
present' state between cd changes.

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

ab719827 05/03/2011 12:29 pm Alon Levy

ide/atapi: fix set but unused

Signed-off-by: Alon Levy <>
Acked-by: Stefan Weil <>
Signed-off-by: Kevin Wolf <>

c07050dd 05/03/2011 11:48 am Michael Walle

milkymist-vgafb: fix console resizing

After enabling the framebuffer, ensure that the console is resized.

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

f3172a0e 05/03/2011 11:48 am Michael Walle

milkymist-sysctl: fix timers

Prevent timers from firing right after starting.

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

57aa265d 05/03/2011 11:48 am Michael Walle

lm32: add Milkymist Minimac2 support

This patch adds support for Milkymist's minimal Ethernet MAC v2. It
superseds minimac1.

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

450fb75c 05/02/2011 03:38 pm Glauber Costa

kvm: create kvmclock when one of the flags are present

kvmclock presence can be signalled by two different flags. So for
device creation, we have to test for both.

Signed-off-by: Glauber Costa <>
Signed-off-by: Avi Kivity <>

71ef18e1 04/28/2011 04:37 pm Anthony Liguori

Merge remote-tracking branch 'amitshah/for-anthony' into staging

e77976a2 04/28/2011 04:25 pm Anthony Liguori

Merge remote-tracking branch 'jvrao/for-anthony' into staging

5c1c9bb2 04/28/2011 10:05 am Alexey Kardashevskiy

virtio-serial: Fix endianness bug in the config space

The virtio serial specification requres that the values in the config
space are encoded in native endian of the guest.

The qemu virtio-serial code did not do conversion to the guest endian
format what caused problems when host and guest use different format....

d5b27167 04/28/2011 08:33 am Kusanagi Kouichi

char: Allow devices to use a single multiplexed chardev.

This fixes regression caused by commit
2d6c1ef40f3678ab47a4d14fb5dadaa486bfcda6
("char: Prevent multiple devices opening same chardev"):

-nodefaults -nographic -chardev stdio,id=stdio,mux=on,signal=off \...

0b6d2266 04/28/2011 08:32 am Hans de Goede

virtio-console: notify backend of guest open / close

Signed-off-by: Hans de Goede <>
Reviewed-by: Alon Levy <>
Signed-off-by: Amit Shah <>

47f7be39 04/27/2011 09:04 pm Jan Kiszka

ioapic: Do not set irr for masked edge IRQs

So far we set IRR for edge IRQs even if the pin is masked. If the guest
later on unmasks and switches the pin to level-triggered mode, irr will
remain set, causing an IRQ storm. The point is that setting IRR is not...

4f8dee2d 04/27/2011 06:27 pm Harsh Prateek Bora

v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

The nwnames field in TWALK message is assumed to be >=0 and <= MAXWELEM
which is defined as macro P9_MAXWELEM (16) in virtio-9p.h as per 9p2000
RFC. Appropriate changes are required in V9fsWalkState and v9fs_walk....

f35bde2f 04/27/2011 06:27 pm Harsh Prateek Bora

hw/virtio-9p-local.c: Remove unnecessary null char in symlink file

This patch removes the addition of null char in symlink file
which is being appended to file in case of mapped security model.
Without this patch, the extra null char causes LTP testcase lstat03...

1d810aeb 04/27/2011 06:26 pm M. Mohan Kumar

virtio-9p: Bugfix to send correct iounit

LCREATE function packs address of iounit in the pdu, fix that to send
actual iounit itself.

Signed-off-by: M. Mohan Kumar <>
Acked-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

a0994761 04/27/2011 06:26 pm Aneesh Kumar K.V

virtio-9p: removexattr on default acl should return 0

If we don't have default acl, removexattr on default acl
should return 0

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

39792515 04/27/2011 06:25 pm Aneesh Kumar K.V

virtio-9p: Print the pdu details on return

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

353ac78d 04/27/2011 06:24 pm Aneesh Kumar K.V

virtio-9p: move 9p files around

Now that we start adding more files related to 9pfs
it make sense to move them to a separate directory

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: Venkateswararao Jujjuri <>

661bfc80 04/27/2011 05:31 pm Jan Kiszka

pflash: Restore & fix lazy ROMD switching

Commit 5145b3d1cc revealed a bug in the lazy ROMD switch-back logic, but
resolved it by breaking that feature. This approach addresses the issue
by switching back to ROMD after a certain amount of read accesses
without further unlock sequences....

aa348082 04/27/2011 05:26 pm Aurelien Jarno

Merge branch 'for-anthony' of git://repo.or.cz/qemu/kevin

  • 'for-anthony' of git://repo.or.cz/qemu/kevin:
    Remove obsolete 'enabled' variable from progress state
    Add dd-style SIGUSR1 progress reporting
    qed: Fix consistency check on 32-bit hosts
    ide/atapi: Introduce CHECK_READY flag for commands...
c6a0487b 04/27/2011 05:22 pm Stefan Weil

rtl8139: Fix compilation for w32/w64

Compilation for Windows needs a different declaration for the
printf format attribute, so use the macro which was defined for
this purpose.

Cc: Benjamin Poirier <>
Signed-off-by: Stefan Weil <>...

7a2c4b82 04/27/2011 05:21 pm Kevin Wolf

ide/atapi: Introduce CHECK_READY flag for commands

Some commands are supposed to report a Not Ready Condition (i.e. they require
a medium to be present in order to execute successfully). Instead of
duplicating the check in each command implementation, let's add a flag and...

a60cf7e7 04/27/2011 05:20 pm Kevin Wolf

ide/atapi: Factor commands out

In preparation for a table of function pointers, factor each command out from
ide_atapi_cmd() into its own function.

Signed-off-by: Kevin Wolf <>

e1a064f9 04/27/2011 05:20 pm Kevin Wolf

ide/atapi: Use table instead of switch for commands

Signed-off-by: Kevin Wolf <>

e119bcac 04/27/2011 05:20 pm Kevin Wolf

ide/atapi: Replace bdrv_get_geometry calls by s->nb_sectors

The disk size can only change when the medium is changed, and the change
callback takes care of updating s->nb_sectors in this case.

Signed-off-by: Kevin Wolf <>

33231e0e 04/27/2011 05:20 pm Kevin Wolf

ide: Split atapi.c out

Besides moving code, this patch only fixes some whitespace issues in the moved
code and makes all functions in atapi.c static which can be static.

Signed-off-by: Kevin Wolf <>

4b9b7092 04/27/2011 03:36 pm Amit Shah

atapi: Add 'medium ready' to 'medium not ready' transition on cd change

MMC-5 Table F.1 lists errors that can be thrown for the TEST_UNIT_READY
command. Going from medium not ready to medium ready states is
communicated by throwing an error.

This adds the missing 'tray opened' event that we fail to report to...

b4548fcc 04/26/2011 03:14 pm Stefan Hajnoczi

trace: Remove %s in grlib trace events

Trace events cannot use %s in their format strings because trace
backends vary in how they can deference pointers (if at all). Recording
const char * values is not meaningful if their contents are not recorded
too....

ec48c774 04/25/2011 11:17 pm Benjamin Poirier

rtl8139: add format attribute to DPRINTF

gcc can check the format string for correctness even when debugging output is
not enabled.
Have to make sure arguments are always available. They are optimized out if
unneeded.

Signed-off-by: Benjamin Poirier <>...

7cdeb319 04/25/2011 11:17 pm Benjamin Poirier

rtl8139: use variadic macro for debug statements

Removes double (( )) to make DEBUG_PRINT compatible with real function calls.
Change the name to DPRINTF to be consistent with other DPRINTF macros
throughout qemu.
Include the "RTL8139: " prefix in the macro. This changes some debug output...

afcd9c0d 04/25/2011 11:17 pm Benjamin Poirier

rtl8139: use TARGET_FMT_plx in debug messages

Prevents a compilation failure when DEBUG_RTL8139 is defined:

CC libhw32/rtl8139.o
cc1: warnings being treated as errors
hw/rtl8139.c: In function ‘rtl8139_cplus_transmit_one’:
hw/rtl8139.c:1960: error: format ‘%8lx’ expects type ‘long unsigned int’, but argument 5 has type ‘target_phys_addr_t’...

dbf352ad 04/25/2011 06:26 pm Anthony Liguori

Merge remote-tracking branch 'awilliam/ipxe' into staging

54d970d1 04/22/2011 10:41 pm Juan Quintela

max111x: input field is only used as uint8_t

Signed-off-by: Juan Quintela <>

38cb3aa9 04/22/2011 10:41 pm Juan Quintela

vmstate: port max111x

Signed-off-by: Juan Quintela <>

51db57f7 04/22/2011 10:41 pm Juan Quintela

nand: pin values are uint8_t

Signed-off-by: Juan Quintela <>

7b9a3d86 04/22/2011 10:41 pm Juan Quintela

vmstate: port nand

Signed-off-by: Juan Quintela <>

8a11f43b 04/22/2011 10:41 pm Juan Quintela

mac_nvram: size is a size, no need to be a target dependent type

Signed-off-by: Juan Quintela <>

8e470f8a 04/22/2011 10:41 pm Juan Quintela

vmstate: port mac_nvram

Signed-off-by: Juan Quintela <>

1fc7cee0 04/22/2011 10:41 pm Juan Quintela

piix4: create PIIX4State

It only contains a PCIDevice by know, but it makes easy to use migration code

Signed-off-by: Juan Quintela <>

9039d78e 04/22/2011 10:41 pm Juan Quintela

vmstate: port piix4

Signed-off-by: Juan Quintela <>

c20df14b 04/22/2011 10:41 pm Juan Quintela

mac_dbdma: create DBDMAState instead of passing one array around

Signed-off-by: Juan Quintela <>

da26fdc3 04/22/2011 10:41 pm Juan Quintela

vmstate: port mac_dbdma

Signed-off-by: Juan Quintela <>