From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfRVM-0002rG-Tx for qemu-devel@nongnu.org; Thu, 23 May 2013 05:08:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfRVL-00014H-KO for qemu-devel@nongnu.org; Thu, 23 May 2013 05:08:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfRVL-000145-Dc for qemu-devel@nongnu.org; Thu, 23 May 2013 05:08:11 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4N98AWf011729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 23 May 2013 05:08:10 -0400 From: Amos Kong Date: Thu, 23 May 2013 17:07:58 +0800 Message-Id: <1369300080-31377-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/2] mac programming over macvtap List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com, stefanha@redhat.com, lcapitulino@redhat.com This patchset introduces a QMP event and a monitor command. The event is used to notify management when rx-filter configuration is changed by guest. Management can use the new monitor command to query rx-filter information, and sync the changes to macvtap devices. There maybe exist an uncontrollable delay, guests normally expect rx-mode updates immediately, but it's another separate issue, we can investigate it after Libvirt work is done. Patches are based on Michael's patchset [1], you can also find patches in my github [2]. [1] [PATCH v3 00/11] qapi: add support for lists of native types [2] https://github.com/kongove/qemu/tree/01-query-rxfilter v2: add argument to filter mac-table info of single nic (Stefan) update the document add event notification V3: rename to rx-filter, add main mac, avoid event flooding (MST) fix error process (Stefan) fix qmp interface (Eric) Amos Kong (2): net: introduce RX_FILTER_CHANGED event net: introduce command to query rx-filter information QMP/qmp-events.txt | 14 +++++++ hmp-commands.hx | 2 + hmp.c | 49 +++++++++++++++++++++++++ hmp.h | 1 + hw/net/virtio-net.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++ include/monitor/monitor.h | 1 + include/net/net.h | 2 + monitor.c | 9 +++++ net/net.c | 47 ++++++++++++++++++++++++ qapi-schema.json | 73 +++++++++++++++++++++++++++++++++++++ qmp-commands.hx | 55 ++++++++++++++++++++++++++++ 11 files changed, 346 insertions(+) -- 1.8.1.4