On 03/26/2011 12:42 PM, Tomasz Chmielewski wrote:
On 26.03.2011 10:15, Avi Kivity wrote:
>  On 03/25/2011 11:32 AM, Tomasz Chmielewski wrote:
>>  I got this on a 2.6.38.1 system which (I think) had some problem
>>  accessing guest image on a btrfs filesystem.
>>
>>
>>  general protection fault: 0000 [#1] SMP

(...)

>  0: 55 push %rbp
>  1: 48 89 e5 mov %rsp,%rbp
>  4: 41 55 push %r13
>  6: 41 54 push %r12
>  8: 53 push %rbx
>  9: 48 83 ec 08 sub $0x8,%rsp
>  d: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
>  12: 45 31 e4 xor %r12d,%r12d
>  15: 48 89 fb mov %rdi,%rbx
>  18: 49 89 f5 mov %rsi,%r13
>  1b: eb 1d jmp 0x3a
>  1d: 0f 1f 00 nopl (%rax)
>  20: f6 06 01 testb $0x1,(%rsi)
>
>
>  Looks like the top 16 bits of %rsi are flipped.
>
>  Also wierd to see a fork(). What's your qemu command line?

/usr/bin/kvm -monitor unix:/var/run/qemu-server/113.mon,server,nowait -vnc 
unix:/var/run/qemu-server/113.vnc,password -pidfile 
/var/run/qemu-server/113.pid -daemonize -usbdevice tablet -name swcache -smp 
sockets=1,cores=1 -nodefaults -boot menu=on -vga cirrus -tdf -k de -drive 
file=/var/lib/vz/template/iso/systemrescuecd-x86-2.0.0.iso,if=ide,index=2,media=cdrom
 -drive 
file=/var/lib/vz/images/113/vm-113-disk-1.raw,if=scsi,index=0,cache=none,boot=on
 -m 1024 -netdev 
type=tap,id=vlan0d0,ifname=tap113i0d0,script=/var/lib/qemu-server/bridge-vlan,vhost=on
 -device virtio-net-pci,mac=DE:42:48:50:D8:69,netdev=vlan0d0 -netdev 
type=tap,id=vlan100d0,ifname=tap113i100d0,script=/var/lib/qemu-server/bridge-vlan,vhost=on
 -device virtio-net-pci,mac=72:D2:6E:8E:07:4D,netdev=vlan100d0



Okay, the fork came from the ,script=.

The issue with %rsi looks like a use-after-free, however kvm_mmu_notifier_invalidate_range_start appears to be properly srcu protected.


--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to