[Qemu-devel] [RFC 1/2] Add qemu_ram_remap

2010-12-30 Thread Huang Ying
qemu_ram_remap() unmaps the specified RAM pages, then re-maps these pages again. This is used by KVM HWPoison support to clear HWPoisoned page tables across guest rebooting, so that a new page may be allocated later to recover the memory error. Signed-off-by: Huang Ying --- cpu-all.h|4

[Qemu-devel] [RFC 2/2] KVM, MCE, unpoison memory address across reboot

2010-12-30 Thread Huang Ying
In Linux kernel HWPoison processing implementation, the virtual address in processes mapping the error physical memory page is marked as HWPoison. So that, the further accessing to the virtual address will kill corresponding processes with SIGBUS. If the error physical memory page is used by a KV

Re: [Qemu-devel] [PATCH] make_device_config: Fix non-fatal error message with dash and other shells

2010-12-30 Thread Andreas Färber
Am 30.12.2010 um 23:04 schrieb Stefan Weil: ORS=" " adds a blank to the name of the include file. Some shells (e.g. dash) don't accept input redirection (tr -d '\r' < $f) when $f ends with a blank, so they print an error message instead of reading pci.mak. This is a non-fatal error because pci.m

Re: [Qemu-devel] [PATCH v2] pc: move port 92 stuff back to pc.c from pckbd.c

2010-12-30 Thread Andreas Färber
Am 29.12.2010 um 19:36 schrieb Blue Swirl: 956a3e6bb7386de48b642d4fee11f7f86a2fcf9a introduced a bug concerning reset bit for port 92. Since the keyboard output port and port 92 are not compatible anyway, let's separate them. Reported-by: Peter Lieven Please consider adding: This also resol

[Qemu-devel] [PATCH] make_device_config: Fix non-fatal error message with dash and other shells

2010-12-30 Thread Stefan Weil
ORS=" " adds a blank to the name of the include file. Some shells (e.g. dash) don't accept input redirection (tr -d '\r' < $f) when $f ends with a blank, so they print an error message instead of reading pci.mak. This is a non-fatal error because pci.mak does not contain an include line. It was int

Re: [Qemu-devel] [PATCH v2] win32: Fix CRLF problem in make_device_config.sh

2010-12-30 Thread Andreas Färber
Am 19.12.2010 um 17:06 schrieb Andreas Färber: Am 19.12.2010 um 16:42 schrieb Stefan Weil: Am 18.12.2010 19:59, schrieb Blue Swirl: Thanks, applied. On Sat, Dec 18, 2010 at 5:09 PM, Andreas Färber > wrote: Am 18.12.2010 um 17:34 schrieb Stefan Weil: QEMU source code with CRLF line endings

Re: [Qemu-devel] [PATCH] TCG: Improve tb_phys_hash_func()

2010-12-30 Thread Blue Swirl
On Wed, Dec 29, 2010 at 9:27 PM, Aurelien Jarno wrote: > Most of emulated CPU have instructions aligned on 16 or 32 bits, while > on others GCC tries to align the target jump location. This means that > 1/2 or 3/4 of tb_phys_hash entries are never used. > > Update the hash function tb_phys_hash_fu

[Qemu-devel] Digital Development wants to keep up with you on Twitter

2010-12-30 Thread Twitter
Twitter connects you with everything you want to know, right now. Short bursts of information are readily available from news organizations, corporate entities, politicians, celebrities, local businesses - even your close friends and family. Also, if you have something to share with the world, T

Re: [Qemu-devel] [PATCH] Fix curses on big endian hosts

2010-12-30 Thread Blue Swirl
On Wed, Dec 29, 2010 at 9:27 PM, Aurelien Jarno wrote: > On big endian hosts, the curses interface is unusable: the emulated > graphic card only displays garbage, while the monitor interface displays > nothing (or rather only spaces). > > The curses interface is waiting for data in native endianne

[Qemu-devel] Digital Development wants to keep up with you on Twitter

2010-12-30 Thread Twitter
Twitter connects you with everything you want to know, right now. Short bursts of information are readily available from news organizations, corporate entities, politicians, celebrities, local businesses - even your close friends and family. Also, if you have something to share with the world, T