[PATCH]
PATCH 1/1 [PATCH]
Hi;
This patch (rediffed againg kvm-60) from Tavis Ormandy <[email protected]> fixes an infinite loop in the emulated SB16 device (See http://taviso.decsystem.org/virtsec.pdf for more details.)
I'm not sure why qemu upstream not merged these but Xen already did.
[1] http://xenbits.xensource.com/xen-3.1-testing.hg?rev/4b22d472bda6
qemu/hw/sb16.c +4 -2
@@ -1240,8 +1240,10 @@ s->block_size);#endif -while (s->left_till_irq <=0 ) { - s->left_till_irq = s->block_size + s->left_till_irq; +if (s->block_size) { +while (s->left_till_irq <=0 ) { + s->left_till_irq = s->block_size + s->left_till_irq; + } }return dma_pos;
Cheers
Signature · 13 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house! ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
A message that is not in the archive (sent off-list or not yet received): 200801290159.41333.caglar-caicS1wCkhO6A22drWdTBw@public.gmane.org
Quoted 26 lines · S.Çağlar Onur
Hi;
This patch (rediffed againg kvm-60) from Tavis Ormandy <[email protected]> fixes an infinite loop in the emulated SB16 device (See http://taviso.decsystem.org/virtsec.pdf for more details.)
I'm not sure why qemu upstream not merged these but Xen already did.
[1] http://xenbits.xensource.com/xen-3.1-testing.hg?rev/4b22d472bda6
diff -ur
kvm-60.orig/qemu/hw/sb16.ckvm-60/qemu/hw/sb16.cqemu/hw/sb16.c +4
-2@@ -1240,8 +1240,10 @@ s->block_size);#endif -while (s->left_till_irq <=0 ) { - s->left_till_irq = s->block_size + s->left_till_irq; +if (s->block_size) { +while (s->left_till_irq <=0 ) { + s->left_till_irq = s->block_size + s->left_till_irq; + } }return dma_pos;
Quoted 2 lines
Cheers
we better wait for qemu to merge it and then when we will merge with qemu cvs we will have it
thanks
Signature · 11 lines
woof. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
A message that is not in the archive (sent off-list or not yet received): 479F263E.2040105-atKUWr5tajBWk0Htik3J/[email protected]
Hi;
29 Oca 2008 Sal tarihinde, Izik Eidus şunları yazmıştı:
Quoted 2 lines
we better wait for qemu to merge it and then when we will merge with qemu cvs we will have it
OK fair enough, seems they submitted to qemu-devel yesterday by Aurelien Jarno [1] [2], although xen merged these 3 months ago :(
[1] http://lists.gnu.org/archive/html/qemu-devel/2008-01/msg00704.html
[2] http://lists.gnu.org/archive/html/qemu-devel/2008-01/msg00705.html
Cheers
Signature · 4 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel