Re: [libvirt PATCH v2 5/5] nodedev: improve error message when destroying an inactive device

2021-06-23 Thread Boris Fiuczynski
On 6/22/21 9:53 PM, Jonathon Jongsma wrote: When trying to destroy a node device that is not active, we end up with a confusing error message: # nodedev-destroy mdev_88a6b868_46bd_4015_8e5b_26107f82da38 error: Failed to destroy node device 'mdev_88a6b868_46bd_4015_8e5b_26107f82da38' er

[libvirt PATCH v2 5/5] nodedev: improve error message when destroying an inactive device

2021-06-22 Thread Jonathon Jongsma
When trying to destroy a node device that is not active, we end up with a confusing error message: # nodedev-destroy mdev_88a6b868_46bd_4015_8e5b_26107f82da38 error: Failed to destroy node device 'mdev_88a6b868_46bd_4015_8e5b_26107f82da38' error: failed to access '/sys/bus/mdev/devices/88a