[Qemu-devel] [PATCH 10/11] target-mips: add copyright notice for mips16 work

2009-12-08 Thread Nathan Froyd
Also cross off mips16 ASE in TODO. Signed-off-by: Nathan Froyd --- target-mips/TODO|1 - target-mips/translate.c |1 + 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-mips/TODO b/target-mips/TODO index 4769e2a..9101881 100644 --- a/target-mips/TODO +++ b/tar

[Qemu-devel] [PATCH, try 2] qemu/tap: add -net tap,dev= option

2009-12-08 Thread Arnd Bergmann
In order to support macvtap, we need a way to select the actual tap endpoint. While it would be nice to pass it by network interface name, passing the character device is more flexible, and we can easily do both in the long run. Signed-off-by: Arnd Bergmann --- diff --git a/net.c b/net.c index 13

Re: [Qemu-devel] [PATCH 05/11] target-mips: add gen_base_offset_addr

2009-12-08 Thread Nathan Froyd
This is a common pattern in existing code. We'll also use it to implement the mips16 SAVE/RESTORE instructions. Signed-off-by: Nathan Froyd --- Argh, please use this one instead; the arguments passed to gen_op_addr_add in gen_base_offset_addr are in the "proper" order. target-mips/translate.c

[Qemu-devel] [PATCH 04/11] target-mips: make gen_compute_branch 16/32-bit-aware

2009-12-08 Thread Nathan Froyd
Signed-off-by: Nathan Froyd --- target-mips/translate.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index d403c56..3751516 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -2390,6 +2

[Qemu-devel] [PATCH] virtio: verify features on load

2009-12-08 Thread Michael S. Tsirkin
migrating between hosts which have different features might break silently, if the migration destination does not support some features supported by source. Prevent this from happening by comparing acked feature bits with the mask supported by the device. Signed-off-by: Michael S. Tsirkin --- P

[Qemu-devel] Re: [FOR 0.12 PATCH v4 01/22] default devices: qdev integration.

2009-12-08 Thread Luiz Capitulino
On Tue, 8 Dec 2009 13:11:32 +0100 Gerd Hoffmann wrote: > New in v4: > * Rebased against latest master. > * Moved the included fixes from (yesterdays) staging to the head >of this series. > * Fixed segfault without -monitor switch. > * Killed noisy debug leftover. > * Replaced fprintf("f

Re: [Qemu-devel] [PATCH] Fixes a bug that tries to use the unimplemented function fdatasync on Mac OS X.

2009-12-08 Thread Blue Swirl
On Tue, Dec 8, 2009 at 4:35 PM, Pierre Riteau wrote: > On 1 oct. 2009, at 18:13, Blue Swirl wrote: > >> On Thu, Oct 1, 2009 at 6:30 PM, G 3 wrote: >>> On Sep 30, 2009, at 3:16 PM, Anthony Liguori wrote: >>> >>> G 3 wrote: >>> >>> This patch fixes a problem in the file cutils.c that prevents qemu

[Qemu-devel] [PATCH 03/11] target-mips: move ROTR and ROTRV inside gen_shift_{imm, }

2009-12-08 Thread Nathan Froyd
It's easier to implement mips16 shift instructions if we're not examining the opcode inside gen_shift_{imm,}. So move ROTR and ROTRV and do the special-case handling of SRL and SRLV inside decode_opc. Likewise for their 64-bit counterparts. Signed-off-by: Nathan Froyd --- target-mips/translate.

[Qemu-devel] [PATCH 07/11] target-mips: add enums for MIPS16 opcodes

2009-12-08 Thread Nathan Froyd
Signed-off-by: Nathan Froyd --- target-mips/translate.c | 112 +++ 1 files changed, 112 insertions(+), 0 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index 36bfdeb..7aac6bf 100644 --- a/target-mips/translate.c +++ b/tar

[Qemu-devel] [FOR 0.12 PATCH] qdev: Replace device names containing whitespace

2009-12-08 Thread Markus Armbruster
Device names with whitespace require quoting in the shell and in the monitor. Some of the offenders are also overly long. Some have a more convenient alias, some don't. The place for verbose device names is DeviceInfo member desc. The name should be short & sweet. Signed-off-by: Markus Armbrus

Re: [Qemu-devel] [PATCH] Fixes a bug that tries to use the unimplemented function fdatasync on Mac OS X.

2009-12-08 Thread Pierre Riteau
On 8 déc. 2009, at 19:35, Blue Swirl wrote: > On Tue, Dec 8, 2009 at 4:35 PM, Pierre Riteau wrote: >> On 1 oct. 2009, at 18:13, Blue Swirl wrote: >> >>> On Thu, Oct 1, 2009 at 6:30 PM, G 3 wrote: On Sep 30, 2009, at 3:16 PM, Anthony Liguori wrote: G 3 wrote: This patc

[Qemu-devel] [PATCH 06/11] target-mips: split out delay slot handling

2009-12-08 Thread Nathan Froyd
Move delay slot handling to common code whose invocation can be controlled from gen_intermediate_code_internal. Signed-off-by: Nathan Froyd --- target-mips/translate.c | 134 +++--- 1 files changed, 79 insertions(+), 55 deletions(-) diff --git a/target-m

Re: [Qemu-devel] [PATCH] fix rtc-td-hack on host without high-res timers

2009-12-08 Thread Anthony Liguori
Gleb Natapov wrote: On hosts without high-res timers it is impossible to inject rtc interrupt faster then 1kHz. Windows sometimes configures RTC to generate 1kHz interrupts, so we can't inject missed interrupts when running on such hosts. Always injecting an interrupt on REG_C read is also not an

Re: [Qemu-devel] [PATCH] Fixes a bug that tries to use the unimplemented function fdatasync on Mac OS X.

2009-12-08 Thread Alexander Graf
Am 08.12.2009 um 19:35 schrieb Blue Swirl : On Tue, Dec 8, 2009 at 4:35 PM, Pierre Riteau wrote: On 1 oct. 2009, at 18:13, Blue Swirl wrote: On Thu, Oct 1, 2009 at 6:30 PM, G 3 wrote: On Sep 30, 2009, at 3:16 PM, Anthony Liguori wrote: G 3 wrote: This patch fixes a problem in the file

Re: [Qemu-devel] [PATCH V8 09/18] pc: remove a global variable, RTCState *rtc_state.

2009-12-08 Thread Isaku Yamahata
On Mon, Dec 07, 2009 at 10:15:17AM +0100, Gerd Hoffmann wrote: > On 12/04/09 06:50, Isaku Yamahata wrote: >> remove a global variable, RTCState *rtc_state. >> Only the cmos_set_s3_resume_init() needs it global. >> So introduce a registering function and make it local. >> As for other function which

[Qemu-devel] Re: [FOR 0.12 PATCH] qdev: Replace device names containing whitespace

2009-12-08 Thread Gerd Hoffmann
diff --git a/hw/usb-msd.c b/hw/usb-msd.c index bb39b62..dec35bc 100644 --- a/hw/usb-msd.c +++ b/hw/usb-msd.c @@ -591,7 +591,7 @@ static USBDevice *usb_msd_init(const char *filename) } /* create guest device */ -dev = usb_create(NULL /* FIXME */, "QEMU USB MSD"); +dev = usb_c

<    1   2