This make let virtio-net driver can send gratituous packet by a new
config bit - VIRTIO_NET_S_ANNOUNCE in each config update
interrupt. When this bit is set by backend, the driver would schedule
a workqueue to send gratituous packet through NETDEV_NOTIFY_PEERS.
This feature is negotiated through b
It's hard to track all mac address and its usage (vlan, bondings,
ipv6) in qemu to send gratituous packet in qemu side, so the better
choice is let guest do it.
The patch introduces a new rw config status bit of virtio-net,
VIRTIO_NET_S_ANNOUNCE which is used to notify guest to announce itself
( s
This patch introduce a function pointer in NetClientInfo which is
called during self announcement to do the model specific announcement
such as sending gratuitous packet. Previous method is kept when model
specific announcing fails or without it.
The first user would be virtio-net.
Signed-off-by:
Export and move announce_self_create() to net.c in order to be used by model
specific announcing function.
Signed-off-by: Jason Wang
---
net.c| 31 +++
net.h|1 +
savevm.c | 32
3 files changed, 32 insertions(+), 32 del
We send gratituous packets to let switch to update its mac address
table, this is only done after migration currently because guest may
move to the host with another port connect to switch.
Unfortunately this kind of notification is also needed for continue a
stopped vm as the mac address table en
We only track primary mac address in qemu and send rarp packets after
migration to notify the switch to update its mac address table. This
may not works when guest have complicated network configurations such
as tagged vlan or ipv6, those connection may lost or stall after
migration.
One method to
On Thu, Oct 20, 2011 at 05:44:23PM -0700, Chris Wright wrote:
> This feature hasn't been in use for some years now. The host side bits
> are deprecated for almost a year. The guest side would only get used
> on old hosts, and it's slower than shadow or hw assisted paging.
>
> Time to remove it.
On 2011-10-21 14:04, Michael S. Tsirkin wrote:
> On Fri, Oct 21, 2011 at 01:51:15PM +0200, Jan Kiszka wrote:
>> On 2011-10-21 13:06, Michael S. Tsirkin wrote:
>>> On Fri, Oct 21, 2011 at 11:19:19AM +0200, Jan Kiszka wrote:
Currently, MSI messages can only be injected to in-kernel irqchips by
>
subscribe kvm
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, Oct 21, 2011 at 01:51:15PM +0200, Jan Kiszka wrote:
> On 2011-10-21 13:06, Michael S. Tsirkin wrote:
> > On Fri, Oct 21, 2011 at 11:19:19AM +0200, Jan Kiszka wrote:
> >> Currently, MSI messages can only be injected to in-kernel irqchips by
> >> defining a corresponding IRQ route for each me
On Fri, Oct 21, 2011 at 11:27:48AM +0200, Jan Kiszka wrote:
> On 2011-10-21 09:54, Michael S. Tsirkin wrote:
> > On Fri, Oct 21, 2011 at 09:09:10AM +0200, Jan Kiszka wrote:
> >> On 2011-10-21 00:02, Michael S. Tsirkin wrote:
> > Yes. But this still makes an API for acquiring per-vector resource
On 2011-10-21 13:06, Michael S. Tsirkin wrote:
> On Fri, Oct 21, 2011 at 11:19:19AM +0200, Jan Kiszka wrote:
>> Currently, MSI messages can only be injected to in-kernel irqchips by
>> defining a corresponding IRQ route for each message. This is not only
>> unhandy if the MSI messages are generated
This patch simplifies passing around msi messages by using
'struct kvm_irq_routing_msi' for storing of msi messages instead
of passing all msi parameters around.
Signed-off-by: Sasha Levin
---
tools/kvm/hw/pci-shmem.c|5 +
tools/kvm/include/kvm/irq.h |3 ++-
tools/kvm/include/kvm
Thank you Stefan.
That's exactly what i needed.
I worked perfectly.
2011/10/20 Simon Wilson :
> - Message from Stefan Hajnoczi -
> Date: Thu, 20 Oct 2011 07:43:45 -0700
> From: Stefan Hajnoczi
> Subject: Re: Convert one .img disk created with sparse=true to no sparse
> To: G
On Fri, Oct 21, 2011 at 11:19:19AM +0200, Jan Kiszka wrote:
> Currently, MSI messages can only be injected to in-kernel irqchips by
> defining a corresponding IRQ route for each message. This is not only
> unhandy if the MSI messages are generated "on the fly" by user space,
> IRQ routes are a limi
This patch makes debug output go to a 'debug_fd' instead of stdout.
Doing so allows us to send the output to a different console when
required.
This patch also changes the behaviour of 'kvm debug' to show the debug
output in the console that executed the debug command instead of in the
console of
2011-10-21, 07:28(+10), Simon Wilson:
[...]
> If working with a NON-sparse VM img (i.e. originally created with
> virt-install --nonsparse), does a cp without --sparse=never retain the
> non-sparse nature of the file, or does it have to be specified?
[...]
See the man page for your "cp" comman
On Fri, 2011-10-21 at 11:19 +0200, Jan Kiszka wrote:
> Currently, MSI messages can only be injected to in-kernel irqchips by
> defining a corresponding IRQ route for each message. This is not only
> unhandy if the MSI messages are generated "on the fly" by user space,
> IRQ routes are a limited res
On 2011-10-21 09:54, Michael S. Tsirkin wrote:
> On Fri, Oct 21, 2011 at 09:09:10AM +0200, Jan Kiszka wrote:
>> On 2011-10-21 00:02, Michael S. Tsirkin wrote:
> Yes. But this still makes an API for acquiring per-vector resources a
> requirement.
Yes, but a different one than curr
Currently, MSI messages can only be injected to in-kernel irqchips by
defining a corresponding IRQ route for each message. This is not only
unhandy if the MSI messages are generated "on the fly" by user space,
IRQ routes are a limited resource that user space as to manage
carefully.
By providing a
On Fri, Oct 21, 2011 at 09:09:10AM +0200, Jan Kiszka wrote:
> On 2011-10-21 00:02, Michael S. Tsirkin wrote:
> >>> Yes. But this still makes an API for acquiring per-vector resources a
> >>> requirement.
> >>
> >> Yes, but a different one than current use/unuse.
> >
> > What's wrong with use/unus
On 2011-10-21 00:02, Michael S. Tsirkin wrote:
>>> Yes. But this still makes an API for acquiring per-vector resources a
>>> requirement.
>>
>> Yes, but a different one than current use/unuse.
>
> What's wrong with use/unuse as an API? It's already in place
> and virtio calls it.
Not for that pu
22 matches
Mail list logo