Bug 1401902

Summary: [RFE]virt-manager should hide or disable network device which already used by other interface
Product: [Community] Virtualization Tools Reporter: zhoujunqin <juzhou>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, gscrivan, mxie, tzheng, xiaodwan
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-09 14:40:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot for step2 none

Description zhoujunqin 2016-12-06 11:29:36 UTC
Created attachment 1228419 [details]
screenshot for step2

Description of problem:
[RFE]virt-manager should hide or disable network device which already used by other interface

Version-Release number of selected component (if applicable):
virt-manager-1.4.0-2.el7.noarch
libvirt-2.0.0-10.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1. Add a new bridge network interface on host.
1.1 Launch virt-manager
# virt-manager
1.2 Click Edit->Connection Details
1.3 Click Network Interfaces tab on QEMU/KVM Details dialogue.	
1.4 Click + button.	
1.5 Select interface type as 'Bridge', click Forward button.	
1.6 Fill the name as 'br1', select start mode as 'none', enable activate now,
choose eno1 to bridge. Click Finish button.	

2. Then open a guest then add a new nic to it.
Choose a guest-->Click Open-->Click "Show virtual hardware details"-->Add hardware-->Network-->Check drop list of network resource.


Actual results:
After step2, Bridge br1:Host device eno1 is showing, but the same time "Host device eno1:macvtap" always enabled.

Expected results:
Since interface eno1 is used by br1, i think it should be hidden or disabled for user though when you applied this, then start guest can get a error likes:
Error starting domain: error creating macvtap interface macvtap0@eno1 (52:54:00:c2:d8:7e): Device or resource busy

Additional info:

Comment 2 Cole Robinson 2018-10-09 14:40:57 UTC
Thanks for the report, but this UI is being removed upstream: https://www.redhat.com/archives/virt-tools-list/2018-October/msg00032.html

So this is no longer going to be fixed