[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 00/25] Monitor handlers new structure phase 1
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH v1 00/25] Monitor handlers new structure phase 1 |
Date: |
Mon, 3 Aug 2009 13:56:57 -0300 |
Hi there,
In the long QEMU Monitor Protocol (QMP) thread people have agreed that,
whichever protocol we are going to use, the first step that needs to be
done is to improve current Monitor's code, so that command handlers
support 'structured' input and output.
Basically, this means that handlers will receive their input through
a dictionary (instead of the ugly args[] array) and will output their
data back to the Monitor instead of directly printing them.
Once this is done, plugging the protocol should be simple, as handlers
will be part of the common code, working with both the human and (any)
machine protocols.
I have divided this project in the following phases:
1. Command handlers receive their arguments through a dictionary
2. Create a object model for QEMU
3. Command handlers output their data back to the Monitor
4. Plug the protocol
This patchset implements phase 1.
Changelog:
V0 -> V1
- Fix C standard violations
- Various renames (QDict, QDictEntry, etc)
- Remove qemu_ prefix from functions
- Drop qdict_iter() (unused right now)
- Fix some unneeded int to long type changes
- [Qemu-devel] [PATCH v1 00/25] Monitor handlers new structure phase 1,
Luiz Capitulino <=
- [Qemu-devel] [PATCH 01/25] Introduce QEMU dictionary data type, Luiz Capitulino, 2009/08/03
- [Qemu-devel] [PATCH 02/25] net: Fix do_set_link() return type, Luiz Capitulino, 2009/08/03
- [Qemu-devel] [PATCH 03/25] Add wrappers to functions used by the Monitor, Luiz Capitulino, 2009/08/03
- [Qemu-devel] [PATCH 04/25] monitor: Document missing supported argument types, Luiz Capitulino, 2009/08/03
- [Qemu-devel] [PATCH 05/25] monitor: New format for handlers argument types, Luiz Capitulino, 2009/08/03
- [Qemu-devel] [PATCH 06/25] monitor: Setup a dictionary with handler arguments, Luiz Capitulino, 2009/08/03
- [Qemu-devel] [PATCH 07/25] monitor: Export qdict.h header, Luiz Capitulino, 2009/08/03
- [Qemu-devel] [PATCH 08/25] monitor: New GET_TLONG and GET_TPHYSADDR macros, Luiz Capitulino, 2009/08/03