Re: [kvm-devel] cirrusfb division by zero

2008-04-30 Thread Anthony Liguori
Marcelo Tosatti wrote: > Anthony, > > The following sequence crashes F9 guests, when using VNC: > > # modprobe cirrusfb > # vbetool post > > Results in Floating point exception at: > > cirrus_do_copy() > { > > depth = s->get_bpp((VGAState *)s) / 8 > ... > sx = (src % (width * depth))

[kvm-devel] cirrusfb division by zero

2008-04-30 Thread Marcelo Tosatti
Anthony, The following sequence crashes F9 guests, when using VNC: # modprobe cirrusfb # vbetool post Results in Floating point exception at: cirrus_do_copy() { depth = s->get_bpp((VGAState *)s) / 8 ... sx = (src % (width * depth)) / depth; ... } Problem is that ->get_bpp r