[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH RFC 0/3] QEMU Object Model

From: Luiz Capitulino
Subject: [Qemu-devel] [PATCH RFC 0/3] QEMU Object Model
Date: Thu, 6 Aug 2009 10:52:13 -0300

 Hi guys,

 Before I ago all over the command handlers again, I thought it would be
a good idea to submit _early_ implemention of the two most basic types
for review: QNumber and QString.

 I'm a bit concerned about QNumber, because it has to allow us to drop
the current long type handling in the monitor and work right on any arch.

 The way I'm thinking in doing this is to change GET_TLONG() and
GET_TPHYSADDR() to receive a QNumber as parameter and work with it to
return the appropriate value.

 For Example:

#define GET_TLONG(qnum) qnumber_get_int64(qnum);
#define GET_TLONG(qnum) qnumber_get_int32(qnum);

 Remeber that the monitor will always work with int64_t for the
'l' argument type.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]