Re: [Qemu-devel] [PATCH] sm501: Adjust endianness of pixel value in rectangle fill

2018-09-19 Thread Marcus Comstedt
w much about KVM. I did a quick attempt with HV KVM but it did not work. I'll try again with PR KVM once I figure out how to load the kvm_pr kernel module (right now modprobe gives me "Input/output error"...). // Marcus -- ---

[Qemu-devel] [PATCH] sm501: Adjust endianness of pixel value in rectangle fill

2018-09-19 Thread Marcus Comstedt
The value from twoD_foreground (which is in host endian format) must be converted to the endianness of the framebuffer (currently always little endian) before it can be used to perform the fill operation. Signed-off-by: Marcus Comstedt --- Hi. I noticed when running AmigaOS 4.1 as a guest

[Qemu-devel] [PATCH] bitbang_i2c: Fix spurious slave read after NACK

2011-05-28 Thread Marcus Comstedt
After NACKing a read operation, a raising SCL should not trigger a new read from the slave. Introduce a new state which just waits for a stop or start condition after NACK. Signed-off-by: Marcus Comstedt mar...@mc.pp.se --- hw/bitbang_i2c.c |5 - 1 files changed, 4 insertions(+), 1

[Qemu-devel] [PATCH] Fix broken fp comparison on PPC host

2005-08-07 Thread Marcus Comstedt
Hi. In QEMU 0.7.1, floating point comparisons do not work properly when the host is PPC. The reason being that the floatXX_compare functions are declared as returning char, which is an unsigned type on PPC, even though -1 is one of the possible return values. This means that r3 will be set to