[libvirt] [test-API][PATCH] Add a case for testing update device flag