On Tue, Jan 14, 2014 at 04:31:00PM +0100, Paolo Bonzini wrote: > Il 14/01/2014 16:25, Peter Maydell ha scritto: > > I definitely think we want at least a basic molly-guard on > > "module not compiled for this qemu"; we need not attempt > > to make it impervious to somebody who's determined to get > > around it, because that's impossible. Something like the > > git hash / file hash rth proposes seems reasonable. > > What about the SHA1 of configure?
On its own that is insufficiently variable but if you combined with the version + pkgversion strings that would be more viable - assuming the RPM build passed '--pkgversion %{release}' to make it change on each new build produced. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|