From: Jason Wang <jasowang@redhat.com>
To: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, mst@redhat.com,
rusty@rustcorp.com.au, qemu-devel@nongnu.org,
quintela@redhat.com, pbonzini@redhat.com
Subject: [Qemu-devel] [V5 PATCH 4/4] virtio-net: compat guest announce support.
Date: Fri, 16 Mar 2012 16:55:21 +0800 [thread overview]
Message-ID: <20120316085521.4947.86665.stgit@amd-6168-8-1.englab.nay.redhat.com> (raw)
In-Reply-To: <20120316085237.4947.53556.stgit@amd-6168-8-1.englab.nay.redhat.com>
Disable guest announce for compat machine types.
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
hw/pc_piix.c | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 6c5c40f..780b607 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -389,6 +389,11 @@ static QEMUMachine pc_machine_v1_0 = {
.property = "check_media_rate",
.value = "off",
},
+ {
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
+ },
{ /* end of list */ }
},
};
@@ -408,6 +413,11 @@ static QEMUMachine pc_machine_v0_15 = {
.property = "check_media_rate",
.value = "off",
},
+ {
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
+ },
{ /* end of list */ }
},
};
@@ -452,6 +462,11 @@ static QEMUMachine pc_machine_v0_14 = {
.property = "rom_only",
.value = stringify(1),
},
+ {
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
+ },
{ /* end of list */ }
},
};
@@ -508,6 +523,11 @@ static QEMUMachine pc_machine_v0_13 = {
.property = "rom_only",
.value = stringify(1),
},
+ {
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
+ },
{ /* end of list */ }
},
};
@@ -568,6 +588,11 @@ static QEMUMachine pc_machine_v0_12 = {
.property = "rom_only",
.value = stringify(1),
},
+ {
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
+ },
{ /* end of list */ }
}
};
@@ -636,6 +661,11 @@ static QEMUMachine pc_machine_v0_11 = {
.property = "rom_only",
.value = stringify(1),
},
+ {
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
+ },
{ /* end of list */ }
}
};
@@ -716,6 +746,11 @@ static QEMUMachine pc_machine_v0_10 = {
.property = "rom_only",
.value = stringify(1),
},
+ {
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
+ },
{ /* end of list */ }
},
};
next prev parent reply other threads:[~2012-03-16 9:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 8:54 [Qemu-devel] [V5 PATCH 0/4] Send gratuitous packets by guest Jason Wang
2012-03-16 8:54 ` [Qemu-devel] [V5 PATCH 1/4] net: announce self after vm start Jason Wang
2012-03-16 9:43 ` Paolo Bonzini
2012-03-16 10:13 ` Jason Wang
2012-03-16 10:45 ` Paolo Bonzini
2012-03-16 15:23 ` Jason Wang
2012-03-16 16:31 ` Paolo Bonzini
2012-03-19 3:12 ` Jason Wang
2012-03-16 8:55 ` [Qemu-devel] [V5 PATCH 2/4] net: model specific announcing support Jason Wang
2012-03-16 8:55 ` [Qemu-devel] [V5 PATCH 3/4] virtio-net: notify guest to annouce itself Jason Wang
2012-03-16 8:55 ` Jason Wang [this message]
2012-03-26 22:10 ` [Qemu-devel] [V5 PATCH 0/4] Send gratuitous packets by guest Anthony Liguori
2012-03-27 3:40 ` Jason Wang
2012-03-27 6:27 ` Michael S. Tsirkin
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=20120316085521.4947.86665.stgit@amd-6168-8-1.englab.nay.redhat.com \
--to=jasowang@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=rusty@rustcorp.com.au \
--cc=stefanha@linux.vnet.ibm.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).