On 26.06.2014 15:51, Taowei wrote:
Use vboxUniformedAPI to rewrite vbox driver.
vboxInitialize and vboxDomainSave are rewrited
in this way.
Taowei (4):
add definitions for vboxUniformedAPI
implement vboxUniformedAPI in vbox_tmpl.c
use vboxUniformedAPI to generate common code
install vboxUniformedAPI
po/POTFILES.in | 1 +
src/Makefile.am | 4 +-
src/vbox/vbox_common.c | 150 +++++++++++++++
src/vbox/vbox_common.h | 151 +++++++++++++++
src/vbox/vbox_driver.c | 35 +++-
src/vbox/vbox_tmpl.c | 419 ++++++++++++++++++++++++-----------------
src/vbox/vbox_uniformed_api.h | 168 +++++++++++++++++
7 files changed, 749 insertions(+), 179 deletions(-)
create mode 100644 src/vbox/vbox_common.c
create mode 100644 src/vbox/vbox_common.h
create mode 100644 src/vbox/vbox_uniformed_api.h
My overall feeling is good. We are not seeing the code removal yet, but
we will as the old code is transformed into the new one. I think you can
start rewriting the whole driver then.
Michal