I reach the upper virFileGetXAttrQuiet

Thread 3.1 "libvirtd" hit Breakpoint 10, virFileGetXAttrQuiet 
(path=path@entry=0x7f8c50041390 
"/var/lib/uvtool/libvirt/images/testguest-ds.qcow", 
    name=name@entry=0x7f8c1803dc40 "trusted.libvirt.security.ref_dac", 
value=value@entry=0x7f8c29b605e0) at ../../../src/util/virfile.c:4418


And it is the implementation of 

4412 #else /* !HAVE_LIBATTR */                                                  
      
4413                                                                            
      
4414 int                                                                        
      
4415 virFileGetXAttrQuiet(const char *path G_GNUC_UNUSED,                       
      
4416                      const char *name G_GNUC_UNUSED,                       
      
4417                      char **value G_GNUC_UNUSED)                           
      
4418 {                                                                          
      
4419     errno = ENOSYS;                                                        
      
4420     return -1;                                                             
      
4421 }     

which is our ENOSYS.

There are two issues with that.
#1 - why do we have !HAVE_LIBATTR
#2 - I think never having set any XATTR the driver shouldn't bail out unable to 
remove them

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879325

Title:
  Unable to remove disk metadata on vm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1879325/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to