* Alex Williamson (alex.williamson@xxxxxxxxxx) wrote: > On Thu, 2011-03-17 at 14:12 -0700, Chris Wright wrote: > > * Alex Williamson (alex.williamson@xxxxxxxxxx) wrote: > > > + fd = open(reset_file, O_WRONLY); > > > + if (fd != -1) { > > > + ret = write(fd, reset, strlen(reset)); > > > + close(fd); > > > + } > > > > This will probably fail when it's managed by libvirt. I expect it > > will need some file ownership and security label mgmt added to device > > assignement path I expect. > > Already posted a patch for adding file rights, seems to be sufficient: > > https://www.redhat.com/archives/libvir-list/2011-March/msg00823.html Awesome, I missed that path, thanks Alex! thanks, -chris -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html