Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1514201 - vhost-user: add transparent reconnect support
Summary: vhost-user: add transparent reconnect support
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: qemu-kvm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: rc
: ---
Assignee: Maxime Coquelin
QA Contact: Sitong Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-16 19:28 UTC by Maxime Coquelin
Modified: 2019-04-07 17:10 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Feature Request


Attachments (Terms of Use)

Description Maxime Coquelin 2017-11-16 19:28:42 UTC
Description of problem:

Currently, on vhost-user socket disconnection, the link status is set to down.
One might want to keep the link up, so that the backend reconnection is made transparent to
to the guest.

This transparent reconnect mode would be enabled by a new vhost-user netdev option,
which would be disabled by default not change current behaviour by default.

Version-Release number of selected component (if applicable):
All

How reproducible:
100%

Steps to Reproduce:
1. Start QEMU with a vhost-user socket in server mode
2. Start testpmd, connecting to the vhost-user socket in client mode
3. In guest, check link status
# ip link show enp0s3
enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 3200 qdisc fq_codel state UP mode DEFAULT group default qlen 1000

4. kill testpmd

5. In guest, check link status
# ip link show enp0s3
2: enp0s3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 3200 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000

Actual results:
state DOWN

Expected results:
state UP

Additional info:


Note You need to log in before you can comment on or make changes to this bug.