Running KVM with hugepages support

Hi,

I want to experiment with hugepages support in KVM.
I have added

<memoryBacking>
<hugepages/>
</memoryBacking>

to my domain xml.
Also I create the directory /hugepages and mounted it using

mount -t hugetlbfs hugetlbfs /hugepages/

and created huge pages using

echo 4096 > /proc/sys/vm/nr_hugepages

Now, when starting the domain from virt-manager, I get the message:

libvirtError: internal error hugetlbfs filesystem is not mounted

What am I doing wrong? What is the recommended way to setup hugepages in opensuse 11.3?

Cheers
Erik

Already solved it. The essential advice is that libvirtd will not see the hugepages until after it is restarted.
Then it just works.