From: Jason Wang <jasowang@redhat.com>
To: aliguori@us.ibm.com, mst@redhat.com, jan.kiszka@siemens.com,
rusty@rustcorp.com.au, qemu-devel@nongnu.org,
blauwirbel@gmail.com, stefanha@gmail.com
Cc: netdev@vger.kernel.org, kvm@vger.kernel.org
Subject: [Qemu-devel] [RFC v3 PATCH 4/4] virtio-net: compat guest announce support.
Date: Thu, 27 Oct 2011 16:49:06 +0800 [thread overview]
Message-ID: <20111027084906.15020.6622.stgit@dhcp-8-146.nay.redhat.com> (raw)
In-Reply-To: <20111027084700.15020.24087.stgit@dhcp-8-146.nay.redhat.com>
Disable guest announce for compat machine types.
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
hw/pc_piix.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 8c7f2b7..6ca50a6 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -340,6 +340,10 @@ static QEMUMachine pc_machine_v0_13 = {
.driver = "virtio-net-pci",
.property = "event_idx",
.value = "off",
+ },{
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
},
{ /* end of list */ }
},
@@ -383,6 +387,10 @@ static QEMUMachine pc_machine_v0_12 = {
.driver = "virtio-net-pci",
.property = "event_idx",
.value = "off",
+ },{
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
},
{ /* end of list */ }
}
@@ -434,6 +442,10 @@ static QEMUMachine pc_machine_v0_11 = {
.driver = "virtio-net-pci",
.property = "event_idx",
.value = "off",
+ },{
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
},
{ /* end of list */ }
}
@@ -497,6 +509,10 @@ static QEMUMachine pc_machine_v0_10 = {
.driver = "virtio-net-pci",
.property = "event_idx",
.value = "off",
+ },{
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
},
{ /* end of list */ }
},
prev parent reply other threads:[~2011-10-27 8:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 8:48 [Qemu-devel] [RFC v3 PATCH 0/4] Send gratuitous packets by guest Jason Wang
2011-10-27 8:48 ` [Qemu-devel] [RFC v3 PATCH 1/4] announce self after vm start Jason Wang
2011-10-27 8:48 ` [Qemu-devel] [RFC v3 PATCH 2/4] net: model specific announcing support Jason Wang
2011-10-27 8:48 ` [Qemu-devel] [RFC v3 PATCH 3/4] virtio-net: notify guest to annouce itself Jason Wang
2011-10-27 8:49 ` Jason Wang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111027084906.15020.6622.stgit@dhcp-8-146.nay.redhat.com \
--to=jasowang@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=blauwirbel@gmail.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=rusty@rustcorp.com.au \
--cc=stefanha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).