Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMake libvirt notice network device disconnection when backend domain is shut down #1426
Comments
marmarek
added
enhancement
C: xen
P: major
release-notes
labels
Nov 14, 2015
marmarek
added this to the Release 3.2 milestone
Nov 14, 2015
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Nov 15, 2015
added a commit
to QubesOS/qubes-core-admin
that referenced
this issue
Nov 15, 2015
marmarek
referenced this issue
Nov 29, 2015
Closed
dynamic network attach/detach does not work (kernel oops) #975
marmarek
referenced this issue
Dec 27, 2015
Closed
[Qubes 3.0] net-vm refuses to boot - Failed to restore PCI config space #1525
marmarek
referenced this issue
Feb 9, 2016
Closed
qvm-kill (and Manager) should be more defensive #1733
marmarek
referenced this issue
Mar 29, 2016
Closed
Web page with list of wanted maintainers/developers/others #1700
added a commit
that referenced
this issue
May 31, 2016
marmarek
modified the milestones:
Release 3.2,
Far in the future
Jun 17, 2016
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Jun 6, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
Jul 4, 2017
Closed
core-admin v4.0.1 (r4.0) #100
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Dec 14, 2017
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Dec 14, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
Dec 22, 2017
Closed
core-admin v4.0.15 (r4.0) #327
marmarek
referenced this issue
Jan 8, 2018
Closed
after qvm-killing sys-net, can't restart it, Mac address in use (R4.0-rc1) #3163
andrewdavidwong
referenced this issue
Mar 1, 2018
Open
FirewallVMs don’t automatically reconnect when NetVM restarts #3642
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
marmarek commentedNov 14, 2015
Xen toolstack used in R3.0 (libxl + libvirt) does not have any device monitoring mechanisms. If the device is detached by the VM itself (for any reason), or some external tool (like xl), the toolstack will still think the device is present and connected (also some settings of xen network frontend and backend will not be cleaned up because of that). The only way to tell the toolstack that device is no longer connected, is to detach it from VM (action initiated by the user, through qubes manager or qvm-prefs, not by backend driver in response to shutting down the domain). But if the device is no longer there, such detach action would fail. And more importantly trying to attach it again (after starting backend domain again) would also fail, because libvirt still thinks the device is already there (detach action failed, right?).
This is the main reason why NetVM restart isn't working.
This is similar issue as #1082 (which is about block devices).