Statistics
| Branch: | Revision:

root @ 492d7bf5

# Date Author Comment
492d7bf5 10/18/2009 05:15 pm Thomas Monjalon

target-ppc: add declarations of microcontrollers based on e300

Add CPU declarations of MPC8343, MPC8343E, MPC8347 and MPC8347E.

Signed-off-by: Thomas Monjalon <>
Signed-off-by: Aurelien Jarno <>

8daf1781 10/18/2009 05:15 pm Thomas Monjalon

target-ppc: better support of e300 CPU core

Declare HID2 register.

Use high BATs for e300 (8 instead of 4).

Fix index of high BATs registers.
Before the fix, IBAT4-7 were overwriting IBAT0-3.

Signed-off-by: François Armand <>
Signed-off-by: Aurelien Jarno <>

dcc65026 10/18/2009 05:00 pm Aurelien Jarno

target-arm: fix bugs introduced by 1b2b1e547bd912b7d3c4863d0a0f75f6f38330ed

Use load_reg_var() instead of accessing cpu_R[rn] directly to generate
correct code when rn = 15.

Signed-off-by: Aurelien Jarno <>

98a46317 10/18/2009 04:53 pm Aurelien Jarno

target-arm: fix bugs introduced by 3174f8e91fecf8756e861d1febb049f3c619a2c7

Use load_reg_var() instead of accessing cpu_R[rn] directly to generate
correct code when rn = 15.

Signed-off-by: Aurelien Jarno <>

b567b38c 10/18/2009 12:53 am Aurelien Jarno

target-arm: remove T0 and T1

Signed-off-by: Aurelien Jarno <>

747a651e 10/18/2009 12:52 am Filip Navara

target-arm: remove cpu_T for ARM once and for all

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

a6445c52 10/18/2009 12:52 am Filip Navara

target-arm: convert gen_lookup_tb not to use cpu_T

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

19457615 10/18/2009 12:52 am Filip Navara

target-arm: convert NEON VZIP/VUZP/VTRN helper functions to pure TCG

The neon_trn_u8, neon_trn_u16, neon_unzip_u8, neon_zip_u8 and neon_zip_u16
helpers used fixed registers to return values. This patch replaces that with
TCG code, so T0/T1 is no longer directly used by the helper functions....

15bb4eac 10/18/2009 12:52 am Filip Navara

target-arm: fix TANDC and TORC instructions

Uninitialized register was used instead of proper TCG variable.

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

396e467c 10/18/2009 12:52 am Filip Navara

target-arm: replace thumb usage of cpu_T registers by proper register allocations

The goal is eventually to get rid of all cpu_T register usage and to use
just short-lived tmp/tmp2 registers. This patch converts all the places where
cpu_T was used in the Thumb code and replaces it with explicit TCG register...

3174f8e9 10/18/2009 12:52 am Filip Navara

target-arm: convert rest of disas_arm_insn / disas_thumb2_insn not to use cpu_T

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

dd8fbd78 10/18/2009 12:52 am Filip Navara

target-arm: convert disas_neon_data_insn and helpers not to use cpu_T

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

1b2b1e54 10/18/2009 12:52 am Filip Navara

target-arm: convert disas_neon_ls_insn not to use cpu_T

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

3a554c0f 10/18/2009 12:52 am Filip Navara

target-arm: convert disas_dsp_insn not use cpu_T

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

da6b5335 10/18/2009 12:52 am Filip Navara

target-arm: convert disas_iwmmxt_insn not to use cpu_T

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

312eea9f 10/18/2009 12:52 am Filip Navara

target-arm: convert VFP not to use cpu_T

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

155c3eac 10/18/2009 12:52 am Filip Navara

target-arm: use tcg_global_mem_new_i32 to allocate registers

Currently each read/write of ARM register involves a LD/ST TCG operation. This
patch uses TCG memory-backed registers to represent the ARM register set. With
memory-backed registers the LD/ST operations are transparently generated by TCG...

12edd4f2 10/18/2009 12:52 am Filip Navara

target-arm: get rid of temporary variable cache

The temporary variable cache in no longer need since tcg_temp_free was introduced.

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

288eebe5 10/18/2009 12:52 am Filip Navara

target-arm: remove useless line that sets register that is never used again

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

217aff9c 10/18/2009 12:52 am Filip Navara

target-arm: remove unused gen_movl_T2_reg function

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

c67b6b71 10/18/2009 12:52 am Filip Navara

target-arm: fix SRS/RFE instructions

The encoding of 'IA' and 'DB' conditions was swapped.
SRS instruction must store banked SPSR instead of CPSR at the specific address.
Missing 'return' statement at the end of RFE handling.
Fixed write-back code to reference correct registers....

2fbac54b 10/18/2009 12:52 am Filip Navara

target-arm: get rid of gen_set_psr_T0 and replace it by gen_set_psr/gen_set_psr_im

Signed-off-by: Filip Navara <>
Signed-off-by: Aurelien Jarno <>

5afe3f04 10/17/2009 12:08 pm Blue Swirl

Only IDE needs limits for CHS configuration

Signed-off-by: Blue Swirl <>

5041fccd 10/15/2009 08:49 pm Roy Tam

MIPS jazz: create isa bus

As i8259 in mips_jazz.c is not correctly connected to the isa bus, the
mc146818rtc isa devices fails to be created.

Signed-off-by: Roy Tam <>
Signed-off-by: Aurelien Jarno <>

ef845c3b 10/15/2009 05:32 pm Kevin Wolf

qcow2: Bring synchronous read/write back to life

When the synchronous read and write functions were dropped, they were replaced
by generic emulation functions. Unfortunately, these emulation functions don't
provide the same semantics as the original functions did....

de41ac92 10/15/2009 05:32 pm Jan Kiszka

pcnet: Extend hardware reset

Update the IRQ state and stop the poll timer on reset. Moreover,
register the reset function with qemu.

Patchworks-ID: 35462
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

ccb167e9 10/15/2009 05:32 pm Izik Eidus

ksm support

Call MADV_MERGEABLE on guest memory allocations. MADV_MERGABLE will be
available starting in Linux 2.6.32. This system call registers a region of
virtual address space with Linux as a candidate for transparent memory
sharing.

Patchworks-ID: 35447...

3f3d583e 10/15/2009 05:32 pm Adam Lackorzynski

multiboot: Fix cmdline of modules

Fix address specified for cmdline value of module in multiboot structure.

Patchworks-ID: 35699
Signed-off-by: Adam Lackorzynski <>
Signed-off-by: Anthony Liguori <>

bf854d65 10/15/2009 05:32 pm Adam Lackorzynski

multiboot: Limit number of multiboot modules

Add size checks to avoid overwriting the multiboot structure
when too many modules are loaded.

Patchworks-ID: 35700
Signed-off-by: Adam Lackorzynski <>
Signed-off-by: Anthony Liguori <>

f7105843 10/15/2009 05:32 pm Mark McLoughlin

net: refactor packet queueing code

The packet queue code is fairly standalone, has some complex details and
easily reusable. It makes sense to split it out on its own. This patch
doesn't contain any functional changes.

Patchworks-ID: 35511
Signed-off-by: Mark McLoughlin <>...

9a6ecb30 10/15/2009 05:32 pm Mark McLoughlin

net: add queue for peer-to-peer packet forwarding

Now that we have re-factored the packet queue code, we can re-use
it for peer-to-peer also.

Patchworks-ID: 35520
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

c1671a08 10/15/2009 05:32 pm Mark McLoughlin

net: fix multiple NICs causing net opts process to stop

For NICs, net_init_client() returns the index into the NICInfo table.

qemu_opts_foreach() interprets non-zero as an error return an stops
iterating over the options.

So, if you have more than one '-net nic' on the command line, subsequent...

b3f046c2 10/15/2009 05:32 pm Kevin Wolf

Documentation: Highlight placeholders in suboptions

Currently, suboptions (i.e. something like file=file for -drive) are rendered
as @code, so we're losing any @var highlighting in the man pages.

Replace them by @option, so that you actually can see what is a placeholder and...

4e257e5e 10/15/2009 05:32 pm Kevin Wolf

Documentation: Add missing tags to placeholders

Not all placeholders in options descriptions had the @var tag on them. Add the
tag so that it's clearly visible that they are placeholders.

Patchworks-ID: 35602
Signed-off-by: Kevin Wolf <>...

be8b28a9 10/15/2009 05:32 pm Kevin Wolf

Documentation: Move msmouse description to an appropriate place

Putting it right in the middle of the explanation for "-serial udp" probably
wasn't the best idea.

Patchworks-ID: 35603
Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

577c4af9 10/15/2009 05:32 pm Mark McLoughlin

net: maintain a list of vlan-less clients

Allows them to be cleaned up at shutdown.

This is pretty lame, but will eventually go away as we make vlans
the special case.

Patchworks-ID: 35518
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

5869c4d5 10/15/2009 05:32 pm Mark McLoughlin

net: add -net nic,netdev= option

Patchworks-ID: 35515
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

283c7c63 10/15/2009 05:32 pm Mark McLoughlin

net: allow NICs to be connected to netdevs

Introduce a 'peer' member to VLANClientState as an alternative
to a vlan. The idea being that packets are transfered directly
from peer clients rather than going through a vlan.

Patchworks-ID: 35516
Signed-off-by: Mark McLoughlin <>...

d80b9fc6 10/15/2009 05:32 pm Mark McLoughlin

net: allow clients not associated with a vlan

Allow net clients to be created which are not connected to any vlan.

This is needed by Gerd in order to allow adding -device nic, where
the absence of a vlan parameter will not imply vlan=0. Also needed
to allow adding a -netdevice option which doesn't connect the backend...

7f161aae 10/15/2009 05:32 pm Mark McLoughlin

net: add QemuOptsList arg to net_client_parse()

Patchworks-ID: 35505
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

a1ea458f 10/15/2009 05:32 pm Mark McLoughlin

net: add -netdev option

Patchworks-ID: 35506
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

f6b134ac 10/15/2009 05:32 pm Mark McLoughlin

net: handle -netdevice options

Same as for -net except for:

- only tap, user, vde and socket types are supported
- the vlan parameter is not allowed
- the name parameter is not allowed but the id parameter is
required

Patchworks-ID: 35517
Signed-off-by: Mark McLoughlin <>...

3706c43f 10/15/2009 05:32 pm Stefan Weil

eepro100: Remove unused device status entries

Once upon the time when QEMU hacking was fun
there was a brave knight who wanted to have
a driver for a special intel nic.

So he started by cloning ne2000.c which also
meant that the new born eepro100.c was
immediately three years old....

98449371 10/15/2009 05:32 pm Mark McLoughlin

hotplug: safely iterate bus's sibling list while removing a device

Without this, I'm seeing a segfault when unpluging a NIC.

Cc: Gerd Hoffmann <>
Patchworks-ID: 35519
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

8b077c9f 10/15/2009 05:32 pm Mark McLoughlin

net: pass monitor handle to client init functions

Needed for e.g. looking up a file descriptor name using
monitor_get_fd() in net_init_tap()

Patchworks-ID: 35509
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

e28af949 10/15/2009 05:32 pm Mark McLoughlin

net: remove unused qemu_handler_true()

Patchworks-ID: 35504
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

6d952ebe 10/15/2009 05:32 pm Mark McLoughlin

net: handle id= parameter for -net

Use id= in the same was as the current name= parameter; if both are
specified, id= is used.

Patchworks-ID: 35514
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

dea7b3b9 10/15/2009 05:32 pm Mark McLoughlin

net: remove id field from NICInfo

Just use the name field instead since we now use the id paramater as
the name, if supplied. Only implication with this change is that if
id is not supplied, the value of the name paramater is used as an
id.

Patchworks-ID: 35512...

5610c3aa 10/15/2009 05:32 pm Mark McLoughlin

net: use qtailq for vlan and client lists

Patchworks-ID: 35507
Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

a58c16dc 10/15/2009 09:43 am malc

winwave: ADC support

Signed-off-by: malc <>

cb4f03e8 10/15/2009 01:40 am malc

audio: remove last remnants of _t

Signed-off-by: malc <>

bc578fe0 10/15/2009 01:15 am malc

winwave: make error logging more consistent

Signed-off-by: malc <>

2a117d40 10/15/2009 01:11 am malc

winwave: follow the rules when closing the output device

a. call waveOutReset to drain the queue
b. unprepare headers before freeing underlying memory

Signed-off-by: malc <>

a91b857c 10/15/2009 12:57 am malc

configure: clean temporary executable files even on Windows

Signed-off-by: malc <>

6550f2e6 10/14/2009 09:31 pm Artyom Tarasenko

scsi disk block descriptor v2

The SCSI-2 documentation suggests, that although the block
descriptor is optional for an arbitrary SCSI-2 device (chapter 8.2.10,
http://ldkelley.com/SCSI2/SCSI2/SCSI2/SCSI2/SCSI2-08.html )
it is mandatory for a disk: chapters 9.1.2, 9.3.3...

930f3fe1 10/13/2009 09:56 pm Blue Swirl

Add some chipset doc links

Signed-off-by: Blue Swirl <>

6a8a2803 10/13/2009 07:57 pm Blue Swirl

user: fix libuser build messages

Signed-off-by: Blue Swirl <>

3723cd09 10/13/2009 07:48 pm Igor V. Kovalenko

sparc64: fix done instruction pc

Fix done instruction to resume with pc=tnpc, npc=tnpc+4

Signed-off-by: Igor V. Kovalenko <>
Signed-off-by: Blue Swirl <>

1a4ea1e3 10/13/2009 05:14 pm Michael S. Tsirkin

qemu: allow pulseaudio to be the default

We're seeing various issues with the SDL audio backend and want to
switch to the pulseaudio backend. See e.g.

https://bugzilla.redhat.com/495964
https://bugzilla.redhat.com/519540
https://bugzilla.redhat.com/496627...
b96bf493 10/12/2009 05:42 pm Gerd Hoffmann

rom loader: also try filename as-is.

In case qemu_find_file fails try to open the file as-is.

Patchworks-ID: 35263
Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

2ca2078e 10/12/2009 05:42 pm François Revol

Fixed wacom emulation

- for absolute mode, scale coordinates to the real device maximum values,
since some drivers (on Haiku and Linux at least) need them as such,
and the HID descriptor is boggus on some models anyway,
- keep the coordinates even when no button is pressed, on real tablet...

0cde1b4c 10/12/2009 05:42 pm Juan Quintela

ide: cmd646 ->unit has just the value that we want

Patchworks-ID: 35307
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d1570baa 10/12/2009 05:42 pm Juan Quintela

ide: BMDMAState don't need a pci_dev field anymore

Patchworks-ID: 35306
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

a3a766e7 10/12/2009 05:42 pm Juan Quintela

slirp: fix !CONFIG_SLIRP compilation

This moves the code that depens on slirp under CONFIG_SLIRP again.

Patchworks-ID: 35372
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ce88f890 10/12/2009 05:42 pm Juan Quintela

TARGET_I386 is always defined if TARGET_X86_64 is defined

Patchworks-ID: 35378
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d549db5a 10/12/2009 05:42 pm Glauber Costa

unlock iothread mutex before running kvm ioctl

Without this, kvm will hold the mutex while it issues its run ioctl,
and never be able to step out of it, causing a deadlock.

Patchworks-ID: 35359
Signed-off-by: Glauber Costa <>
Signed-off-by: Anthony Liguori <>

3c178e72 10/12/2009 05:42 pm Gerd Hoffmann

rom loader: fix sparc -kernel boot.

Changes:
(1) register pstrcpy_targphys() in rom list, it is used for kernel
command lines by a number of architectures.
(2) add rom_ptr() function to get a pointer for applying changes
to loaded images. Needed for example to tell the linux kernel...

61073e0f 10/12/2009 05:42 pm Juan Quintela

ide: change cast to DO_UPCAST

Patchworks-ID: 35293
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

e6a7830a 10/12/2009 05:42 pm Juan Quintela

ide: Remove cast in pci_register_bar

We already have a PCIDevice at that point

Patchworks-ID: 35296
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

edcca5a3 10/12/2009 05:42 pm Juan Quintela

ide: Remove duplicated definitions

Patchworks-ID: 35297
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

18c0fb30 10/12/2009 05:42 pm Juan Quintela

ide: remove uselsess casts from void *

Patchworks-ID: 35298
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

65c0f135 10/12/2009 05:42 pm Juan Quintela

ide: create ide/pci.h for common ide pci definitions

Patchworks-ID: 35299
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

3e7e1558 10/12/2009 05:42 pm Juan Quintela

ide: export needed ide-pci functions for split

Patchworks-ID: 35300
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

4c3df0ec 10/12/2009 05:42 pm Juan Quintela

ide: split cmd646 and piix from pci.c

This patch splits cmd646 specific code from pci.c.
This patch splits piix4 specific code from pci.c.
And compile new piix.o and cmd646.o when they are needed.
The only change that is not code movemet is removal of cmd646 specific parts...

58c0e732 10/12/2009 05:42 pm Juan Quintela

ide: PCIIDEState type field is not needed anymore

We have split the functions that needed it for cmd646

Patchworks-ID: 35302
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

7e078316 10/12/2009 05:42 pm Juan Quintela

ide: 'secondary' field is only used by cmd646

Patchworks-ID: 35303
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

61f58e59 10/12/2009 05:42 pm Juan Quintela

ide: cmd646 we can get the pci device with container_of

Patchworks-ID: 35305
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

f514f41c 10/11/2009 10:31 pm Stefan Weil

Fix bswap in comment

Replace bsawp -> bswap.

Signed-off-by: Stefan Weil <>
Signed-off-by: Aurelien Jarno <>

02d5467e 10/11/2009 04:08 pm malc

Move dependency generation falgs out of configure

Signed-off-by: malc <>

868dc0b4 10/11/2009 06:57 am malc

configure: clean up temporary dependency files

Signed-off-by: malc <>

6165a426 10/11/2009 05:52 am malc

winwave: pause/restore playing upon seeing VOICE_DISABLE/ENABLE

Signed-off-by: malc <>

875ef647 10/11/2009 05:38 am malc

winwave: close event handle and delete wait object after closing HWAVEOUT

To avoid possibly being called back and thus racing.

Signed-off-by: malc <>

f4e8d0b7 10/11/2009 04:39 am malc

winwave: remove wait object when finalizing DAC voice

Signed-off-by: malc <>

218951ef 10/10/2009 06:34 pm Edgar E. Iglesias

CRIS: Segmented addressing only for kernel mode.

Segmented translation through the CRIS MMU is only done for
accesses in kernel mode. In user-mode, all accesses are treated
as paged regardless of the mode config in RW_MM_CFG.

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

cef290b8 10/10/2009 06:02 pm malc

Fix Windows host breakage by 45a50b1668822c23afc2a89f724654e176518bc4 (TeLeMan)

Signed-off-by: malc <>

e0bda367 10/10/2009 04:16 pm malc

winwave: poll mode

Signed-off-by: malc <>

d5631638 10/10/2009 12:18 am malc

Windows Waveform Audio driver (no ADC support yet)

Signed-off-by: malc <>

ad323081 10/09/2009 05:17 am Jan Kiszka

pcnet: Restart poll timer on pcnet_start

Just like we call into pcnet_poll_timer on stop, we need to call it on
start to trigger the setup of the poll timer.

Patchworks-ID: 35313
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

efb56cf7 10/09/2009 05:17 am Jan Kiszka

pcnet: Drop unused recv_pos field

This state field was never used, simply remained 0. Drop it from the
PCNetState and update the save/restore code accordingly, keeping
backward compatibility.

Patchworks-ID: 35314
Signed-off-by: Jan Kiszka <>...

b223f35f 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_quit() do QObject

Patchworks-ID: 35345
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

e0c97bde 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_stop() to QObject

Patchworks-ID: 35343
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

c80d259e 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_system_reset() to QObject

Patchworks-ID: 35347
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

43076664 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_system_powerdown() to QObject

Patchworks-ID: 35346
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

a1f896a0 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_cont() to QObject

Appropriate error handling support will be needed to have
encrypted images working under the future machine protocol,
but this initial conversion will work with the current
user protocol.

Patchworks-ID: 35348
Signed-off-by: Luiz Capitulino <>...

83fb1de2 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_balloon() to QObject

It is important to note that it never fails, as big refactoring
of the virtio code would be needed to get the proper error code.

Patchworks-ID: 35349
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

ab2d3187 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_info_version() to QObject

The returned data is always a QString.

Also introduces monitor_print_qobject(), which can be used as
a standard way to print QObjects in the user protocol format.

Patchworks-ID: 35350
Signed-off-by: Luiz Capitulino <>...

cc1d9c70 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_info_balloon() to QObject

On success return a QInt with the balloon's value.

This also introduces monitor_print_balloon() to print the
balloon information in the user protocol.

Please, note that errors are not being converted yet.

Patchworks-ID: 35351...

8f3cec0b 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_info_cpus() to QObject

Each CPU information is stored in a QDict and the returned
QObject is a QList of all CPUs.

The QDict contains the following information:

- "CPU": cpu index
- "current": "yes" or "no"
- "pc": current PC
- "halted": "yes" or "no"...

13917bee 10/09/2009 05:17 am Luiz Capitulino

monitor: Handle new and old style handlers

This commit changes monitor_handle_command() to support old style
and new style handlers.

New style handlers are protocol independent, they return their
data to the Monitor, which in turn decides how to print them...

13c7425e 10/09/2009 05:17 am Luiz Capitulino

monitor: do_info(): handle new and old info handlers

do_info() is special, its job is to call 'info handlers'.
This is similar to what monitor_handle_command() does,
therefore do_info() also has to distinguish among new and
old style info handlers.

This commit converts do_info() to the new QObject style and...