Re: kvm: get_dirty_pages returned -2 (kvm-15)

Avi Kivity
2007-02-28T17:36:46Z

Larry Matter wrote:
> Hi,
>
> I installed kvm-15 on my AMD-64 box running 32bit fedora core 6. I ran
> into the modprobe issues already mentioned so I dropped back to kvm-14.
>
> This worked then I started getting the get_dirty_pages error. Searching
> the list I saw the patch from Avi which solved the modprobe issues and I
> went back to kvm-15. But I am still getting the get_dirty_pages error;
> not sure if this is related to bug 1661262 or not.
>
> My command line is:
>
> /usr/local/kvm/bin/qemu -m 512 -std-vga -soundhw es1370 -net
> nic,macaddr=<removed>,vlan=0 -net
> tap,ifname=tap0,vlan=0,script=/etc/qemu-ifup -boot c -hda
> /mnt/windows/windows.img
>
>

Can you try stracing to see if it's a kernel or userspace problem?

prefix your command line with

strace -e trace=ioctl -e signal=none -o /tmp/kvm.trace
/usr/local/bin/qemu...

and then post the result of

grep ENOENT /tmp/kvm.trace