Add attached and connected keys to NIC devices#2847
Conversation
Signed-off-by: Benjamin Somers <[email protected]>
Signed-off-by: Benjamin Somers <[email protected]>
This fixes a bug where modifying an updatable configuration key (for example, `limits.read`) while the device (for example a disk) is detached could lead the update function to ask QEMU to perform operations on a device it doesn't know. Signed-off-by: Benjamin Somers <[email protected]>
f1d68b7 to
66607e7
Compare
|
I’ll write a few tests in ~3h tops |
Signed-off-by: Benjamin Somers <[email protected]>
Signed-off-by: Benjamin Somers <[email protected]>
Signed-off-by: Benjamin Somers <[email protected]>
|
Cool, static analysis is also looking a bit unhappy :) |
|
Haven’t done any Go for a while, my reflexes are a bit rusty! |
66607e7 to
24ce2b6
Compare
Signed-off-by: Benjamin Somers <[email protected]>
This commit fixes the fact that `LinkByName` reported a link not found error when run on a veth pair whose other end is in a container. Signed-off-by: Benjamin Somers <[email protected]>
Signed-off-by: Benjamin Somers <[email protected]>
Signed-off-by: Benjamin Somers <[email protected]>
Signed-off-by: Benjamin Somers <[email protected]>
Signed-off-by: Benjamin Somers <[email protected]>
|
I don’t have an OVN testbed and the test suite doesn’t test OVN, so it would be nice if you have a free testing instance with OVN to test that OVN works like the others when setting |
|
Our CI doesn't have SR-IOV hardware, so INCUS_NIC_SRIOV_PARENT isn't set there. So it may very well be that the test in question is broken. |
|
Done, I've opened #2881 :) |
Closes: #2780