diff -u kvm-72+dfsg/debian/changelog kvm-72+dfsg/debian/changelog --- kvm-72+dfsg/debian/changelog +++ kvm-72+dfsg/debian/changelog @@ -1,3 +1,12 @@ +kvm (1:72+dfsg-1ubuntu5) intrepid; urgency=low + + * debian/hal-kvm.fdi, debian/hal-kvm.policy: hal object descriptor and + policy file for kvm/virt-hardware + * debian/kvm.install, debian/rules: installation rules to put the hal + configuration in the correct place (LP: #273764) + + -- Dustin Kirkland Tue, 23 Sep 2008 17:27:43 -0500 + kvm (1:72+dfsg-1ubuntu4) intrepid; urgency=low * debian/kvm-ok: simple script to determine of the cpu supports kvm diff -u kvm-72+dfsg/debian/kvm.install kvm-72+dfsg/debian/kvm.install --- kvm-72+dfsg/debian/kvm.install +++ kvm-72+dfsg/debian/kvm.install @@ -9,0 +10,3 @@ +usr/share/hal/fdi/policy/10osvendor/* +usr/share/PolicyKit/policy/* + diff -u kvm-72+dfsg/debian/rules kvm-72+dfsg/debian/rules --- kvm-72+dfsg/debian/rules +++ kvm-72+dfsg/debian/rules @@ -168,6 +168,10 @@ install -D -m 0755 debian/kvm-ok $(CURDIR)/debian/tmp/usr/bin/kvm-ok + # Install hal configuration; makes kvm-group unnecessary on desktops + install -D -m 644 debian/hal-kvm.fdi $(CURDIR)/debian/tmp/usr/share/hal/fdi/policy/10osvendor/10-kvm.fdi + install -D -m 644 debian/hal-kvm.policy $(CURDIR)/debian/tmp/usr/share/PolicyKit/policy/org.freedesktop.hal.kvm.policy + # kvm-source install -D -m 0755 debian/reportbug-hook.sh $(CURDIR)/debian/tmp/usr/share/bug/kvm-source # Copy only the driver source to the proper location only in patch2: unchanged: --- kvm-72+dfsg.orig/debian/hal-kvm.fdi +++ kvm-72+dfsg/debian/hal-kvm.fdi @@ -0,0 +1,14 @@ + + + + + + + + + access_control + /dev/kvm + virt-hardware + + + only in patch2: unchanged: --- kvm-72+dfsg.orig/debian/hal-kvm.policy +++ kvm-72+dfsg/debian/hal-kvm.policy @@ -0,0 +1,17 @@ + + + + + + + Directly access virtualization acceleration hardware + System policy prevents access to the virtualization device + + yes + yes + + + +