From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsGRZ-0006Io-U7 for qemu-devel@nongnu.org; Thu, 27 Jun 2013 13:57:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsGRZ-0005xi-20 for qemu-devel@nongnu.org; Thu, 27 Jun 2013 13:57:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsGRY-0005xd-PB for qemu-devel@nongnu.org; Thu, 27 Jun 2013 13:57:16 -0400 Message-ID: <51CC7CF9.4090105@redhat.com> Date: Thu, 27 Jun 2013 11:57:13 -0600 From: Eric Blake MIME-Version: 1.0 References: <1372078125-31085-1-git-send-email-xiawenc@linux.vnet.ibm.com> <1372078125-31085-3-git-send-email-xiawenc@linux.vnet.ibm.com> In-Reply-To: <1372078125-31085-3-git-send-email-xiawenc@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2UKBLJGRTTJNDMAVETKGB" Subject: Re: [Qemu-devel] [PATCH V2 2/7] monitor: discard global variable *mon_cmds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: pbonzini@redhat.com, lcapitulino@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2UKBLJGRTTJNDMAVETKGB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/24/2013 06:48 AM, Wenchao Xia wrote: > New member *cmd_table is added in structure Monitor to avoid direct usa= ge of > *mon_cmds. Now monitor have an associated command table, when global va= riable > *info_cmds is also discarded, structure Monitor would gain full control= about > how to deal with user input. >=20 > Signed-off-by: Wenchao Xia > --- > monitor.c | 14 +++++++++----- > 1 files changed, 9 insertions(+), 5 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2UKBLJGRTTJNDMAVETKGB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRzHz5AAoJEKeha0olJ0NqUwQH/0yeMxnLM4soh0cmOHN0/14P tWxmgeblfuAzvo2j0LMnw3RejNvdBDqCERRwLnCbNxXZ6/pTtEL57yDSVMqKDzI6 HU36HyUMB0cy5WYb2OmYCc36ZxFc5EeM8ZLvyUfTn4mCEC0jYPysSX0uP6aXViXA GaV5DejbAPMwlYLeJlcfdQaVktBpQtBwORpwHeTgJyz9NeGI4KkZQ+1MS6p5hReA RMb/NqubElSEfhuWlsVXJ0e88MUur+QQIR/dOMabSF3YC3IRxb0YgkfL3c0/Zjzz OvFX8MOYste0RtWHwnS0NvZP7kMpJTAaID+RGAw2LP266YpVmvDbtroz4K8TDiE= =ecUE -----END PGP SIGNATURE----- ------enig2UKBLJGRTTJNDMAVETKGB--