[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

Re: [Qemu-devel] [PATCH] ppc64: fix mtmsr behavior on 64-bit targets

2011-06-05 Thread Alexander Graf
On 04.06.2011, at 21:28, Nathan Whitehorn wrote: > On 05/31/11 12:40, Richard Henderson wrote: >> On 05/31/2011 07:56 AM, Nathan Whitehorn wrote: >>> #if defined(TARGET_PPC64) >>> -if (!ctx->sf_mode) { >>> TCGv t0 = tcg_temp_new(); >>> TCGv t1 = tcg_temp_new();

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

[Qemu-devel] [PATCH] slirp: fix guestfwd id

2011-06-05 Thread Alexander Graf
When using -net user,guestfwd=... Qemu immediately complains about the id being in invalid format. This is because we pass in an id that contains a colon, while the id restrictions don't allow colons. This patch changes the colon into a dot, making guestfwd work again. Signed-off-by: Alexander Gr

Re: [Qemu-devel] [PATCH] m68k: Replace gen_im32() by tcg_const_i32()

2011-06-05 Thread Andreas Färber
I would add as description: "This resolves a FIXME." Is "by" grammatically correct here? I would've thought to replace sth. "with" sth., by s.o. Am 25.03.2011 um 20:36 schrieb Laurent Vivier: Signed-off-by: Laurent Vivier This patch accurately inlines and removes gen_im32(). Reviewed-by

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

Re: [Qemu-devel] [PATCH v4] PPC: E500: Implement reboot controller

2011-06-05 Thread Andreas Färber
Am 03.06.2011 um 09:53 schrieb Alexander Graf: When Linux reboots an e500 VM, it writes to a magic register in the "global-utilities" device indicated by the device tree. We were not emulating that device so far, rendering the VM reboot-less. This patch implements that device with only the rebo

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

[Qemu-devel] Disable interrupts on Cortex M3 (lm3s6965evb)

2011-06-05 Thread Sebastian Huber
Hello, how can I disable interrupts on the Cortex M3 based board LM3S6965EVB? Even if I set PRIMASK, FAULTMASK and BASEPRI to 1 the SYSTICK interrupt handler gets called. Have a nice day!

[Qemu-devel] [PATCH] slirp: add 'cmd:' target for guestfwd

2011-06-05 Thread Alexander Graf
When using guestfwd=, Qemu only connects the virtual server's TCP port to a single chardev. This is useless in most cases, as we usually want to have more than a single connection from the guest to the outside world. This patch adds a new cmd: target to guestfwd= that allows for execution of a com

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

Re: [Qemu-devel] Disable interrupts on Cortex M3 (lm3s6965evb)

2011-06-05 Thread Sebastian Huber
On 05/06/11 12:31, Sebastian Huber wrote: > Hello, > > how can I disable interrupts on the Cortex M3 based board LM3S6965EVB? > Even if I set PRIMASK, FAULTMASK and BASEPRI to 1 the SYSTICK interrupt > handler gets called. > > Have a nice day! > I think the interrupt handling logic for ARMv7M i

Re: [Qemu-devel] [PATCH 0/3] net: reimplement -net nic diagnostic fix

2011-06-05 Thread Peter Maydell
Combination 'ping' and 'oops I forgot to cc the net/ maintainers'... -- PMM On 20 May 2011 16:49, Peter Maydell wrote: > This patchset reverts commit f68b9d672, which was triggering > spuriously for NICs created via -device rather than -net nic. > It then reimplements the improved diagnostics wi

Re: [Qemu-devel] [PATCH] ppc64: fix mtmsr behavior on 64-bit targets

2011-06-05 Thread Nathan Whitehorn
On 06/05/11 04:00, Alexander Graf wrote: On 04.06.2011, at 21:28, Nathan Whitehorn wrote: On 05/31/11 12:40, Richard Henderson wrote: On 05/31/2011 07:56 AM, Nathan Whitehorn wrote: #if defined(TARGET_PPC64) -if (!ctx->sf_mode) { TCGv t0 = tcg_temp_new();

Re: [Qemu-devel] [PATCH] ppc64: fix mtmsr behavior on 64-bit targets

2011-06-05 Thread Nathan Whitehorn
On 06/05/11 08:33, Nathan Whitehorn wrote: On 06/05/11 04:00, Alexander Graf wrote: On 04.06.2011, at 21:28, Nathan Whitehorn wrote: On 05/31/11 12:40, Richard Henderson wrote: On 05/31/2011 07:56 AM, Nathan Whitehorn wrote: #if defined(TARGET_PPC64) -if (!ctx->sf_mode) {

Re: [Qemu-devel] Disable interrupts on Cortex M3 (lm3s6965evb)

2011-06-05 Thread Peter Maydell
On 5 June 2011 14:06, Sebastian Huber wrote: > I think the interrupt handling logic for ARMv7M is wrong in cpu-exec.c > line 470.  Please have a look at the attached patch. --- a/cpu-exec.c +++ b/cpu-exec.c @@ -470,8 +470,8 @@ int cpu_exec(CPUState *env1) We avoid this by

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

Re: [Qemu-devel] [PATCH] ppc64: fix mtmsr behavior on 64-bit targets

2011-06-05 Thread Alexander Graf
On 05.06.2011, at 15:33, Nathan Whitehorn wrote: > On 06/05/11 04:00, Alexander Graf wrote: >> On 04.06.2011, at 21:28, Nathan Whitehorn wrote: >> >>> On 05/31/11 12:40, Richard Henderson wrote: On 05/31/2011 07:56 AM, Nathan Whitehorn wrote: > #if defined(TARGET_PPC64) > -

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

Re: [Qemu-devel] [PATCH] Fix build on FreeBSD

2011-06-05 Thread Nathan Whitehorn
On 06/02/11 10:01, Andreas Färber wrote: Am 31.05.2011 um 16:57 schrieb Nathan Whitehorn: Add some includes required to build qemu on FreeBSD. Missing Sob. Oops, I'll resubmit. --- bsd-user/syscall.c |2 ++ iohandler.c|1 + os-posix.c |4 3 files changed, 7 i

Re: [Qemu-devel] Disable interrupts on Cortex M3 (lm3s6965evb)

2011-06-05 Thread Sebastian Huber
On 05/06/11 15:44, Peter Maydell wrote: > On 5 June 2011 14:06, Sebastian Huber > wrote: > >> I think the interrupt handling logic for ARMv7M is wrong in cpu-exec.c >> line 470. Please have a look at the attached patch. >> > --- a/cpu-exec.c > +++ b/cpu-exec.c > @@ -470,8 +470,8 @@ int cp

[Qemu-devel] Hello Would You Like To Earn

2011-06-05 Thread Jenny . Smith
Hello qemu-devel Would you like to earn an extra $200 everyday?, for just 45 minutes work? You could quit your job and make double the money at home working for yourself. visit->http:tinyurl.com/3ot9sgy Regards, Jenny Smith Survey Human Resources Dept.

Re: [Qemu-devel] Disable interrupts on Cortex M3 (lm3s6965evb)

2011-06-05 Thread Peter Maydell
On 5 June 2011 15:17, Sebastian Huber wrote: > On 05/06/11 15:44, Peter Maydell wrote: >> In any case, M profile exception priority handling is sufficiently >> complicated that any change which only looks at PRIMASK (which is >> effectively what the change to look at CPSR_I here is doing) is >> a

Re: [Qemu-devel] [PATCH] Fixed BASEPRI, BASEPRI_MAX, and FAULTMASK access.

2011-06-05 Thread Peter Maydell
On 29 May 2011 13:58, wrote: > From: Sebastian Huber > > According to "ARMv7-M Architecture Reference Manual" issue D section > "B5.2.3 MRS" and "B5.2.3 MSR". > > Signed-off-by: Sebastian Huber Reviewed-by: Peter Maydell -- PMM

Re: [Qemu-devel] [PATCH] scsi: fix tracing of scsi requests with simple backend

2011-06-05 Thread Blue Swirl
Thanks, applied. On Fri, Jun 3, 2011 at 3:57 PM, Paolo Bonzini wrote: > The simple backend only supports a maximum of 6 arguments.  Split the > scsi_req_parsed event in two parts to cope with the limit. > > Signed-off-by: Paolo Bonzini > --- >  hw/scsi-bus.c |    6 +- >  trace-events  |    3

Re: [Qemu-devel] [PATCH] Correct and standardize header guards in all header files

2011-06-05 Thread Blue Swirl
On Sun, Jun 5, 2011 at 6:57 AM, Alexandre Raymond wrote: > As per ISO/IEC 9899, Section 7.1.3 on reserved identifiers, > identifiers starting with an underscore are reserved. > > Therefore: > 1) Rename all incorrect header guards > > While I'm at it: > 2) Standardize header guards to "#ifndef SOME

Re: [Qemu-devel] [PATCH] Fix compilation warning due to missing header for sigaction (followup)

2011-06-05 Thread Blue Swirl
On Fri, Jun 3, 2011 at 6:26 AM, Alexandre Raymond wrote: > This patch removes all references to signal.h when qemu-common.h is included > as they become redundant. This breaks the build. Maybe it depends on some previous patch? If so, it would be nice to submit the patches as a series so that the

Re: [Qemu-devel] Disable interrupts on Cortex M3 (lm3s6965evb)

2011-06-05 Thread Sebastian Huber
On 05/06/11 16:57, Peter Maydell wrote: > On 5 June 2011 15:17, Sebastian Huber > wrote: > >> On 05/06/11 15:44, Peter Maydell wrote: [...] >>> (It looks suspiciously as if most of the v7M priority handling >>> is simply missing from QEMU, ie you have bigger problems than >>> can be fixed by a

Re: [Qemu-devel] [PATCH] Fix compilation warning due to missing header for sigaction (followup)

2011-06-05 Thread Alexandre Raymond
Hi Blue, This patch indeed depends on http://patchwork.ozlabs.org/patch/98325/. Since it had already been applied by Andreas to the trivial tree, I didn't think it was necessary to resend it in the followup. If you prefer, I can resend both in the same series. Alexandre On Sun, Jun 5, 2011 at

Re: [Qemu-devel] [PATCH] Fix compilation warning due to missing header for sigaction (followup)

2011-06-05 Thread Blue Swirl
On Sun, Jun 5, 2011 at 7:49 PM, Alexandre Raymond wrote: > Hi Blue, > > This patch indeed depends on http://patchwork.ozlabs.org/patch/98325/. > > Since it had already been applied by Andreas to the trivial tree, I > didn't think it was necessary to resend it in the followup. > > If you prefer, I

Re: [Qemu-devel] Disable interrupts on Cortex M3 (lm3s6965evb)

2011-06-05 Thread Peter Maydell
On 5 June 2011 17:32, Sebastian Huber wrote: > On 05/06/11 16:57, Peter Maydell wrote: >> I agree that the current behaviour is not right. However, to fix >> this problem you need to work on a larger scale than attempting >> to apply two line patches which fix your particular use case. > > I agree

Re: [Qemu-devel] dynamically linked binaries under sparc-linux-user

2011-06-05 Thread Artyom Tarasenko
On Sat, Jun 4, 2011 at 10:30 AM, Blue Swirl wrote: > On Sun, May 29, 2011 at 2:32 AM, Artyom Tarasenko wrote: >> On Thu, May 26, 2011 at 8:45 PM, Blue Swirl wrote: >>> On Tue, May 24, 2011 at 10:42 PM, Artyom Tarasenko >>> wrote: Should it be possible to use dynamically linked binaries un

[Qemu-devel] [Bug 793317] [NEW] Large amount of write-only variables

2011-06-05 Thread Eli
Public bug reported: Whenever I try to compile the source from the git repo, it gets a large number of "set but not used" errors, in files such as: hw/usb_ochi.c (line 526, 1114, and 1108) hw/lsi53c895a.c (line 892) kvm.c (line 973) target-alpha/translate.c (line 1472, 1470) linux-user/syscall.c

Re: [Qemu-devel] [patch 6/7] QEMU live block copy

2011-06-05 Thread Marcelo Tosatti
On Tue, May 31, 2011 at 07:53:44PM +0300, Avi Kivity wrote: > >Don't see the need for that, management can simply wait for livecopy to > >finish or cancel livecopy and restart on destination after migration. > > They can do it, but I imagine it's pretty hard for them. Well, they have to handle mi

Re: [Qemu-devel] [patch 6/7] QEMU live block copy

2011-06-05 Thread Marcelo Tosatti
On Tue, May 24, 2011 at 10:15:09PM +0300, Blue Swirl wrote: > > +static bool aio_inflight(BdrvCopyState *s, int64_t sector) > > +{ > > +    int64_t chunk = sector / (int64_t)BDRV_SECTORS_PER_DIRTY_CHUNK; > > + > > +    if (s->aio_bitmap && > > +        (sector << BDRV_SECTOR_BITS) < bdrv_getlength(

[Qemu-devel] [Bug 793317] Re: Large amount of write-only variables

2011-06-05 Thread Brad Hards
I don't have a file called hw/usb_ochi.c. Did you mean hw/usb-ohci.c? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/793317 Title: Large amount of write-only variables Status in QEMU: New Bug de

[Qemu-devel] [Bug 793317] Re: Large amount of write-only variables

2011-06-05 Thread Eli
Yeah, i meant usb-ohci.c. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/793317 Title: Large amount of write-only variables Status in QEMU: New Bug description: Whenever I try to compile the s

[Qemu-devel] [Bug 793317] Re: Large amount of write-only variables

2011-06-05 Thread Brad Hards
Ok, looking at the first example (line 526), I see code that looks like: static inline int ohci_put_iso_td(OHCIState *ohci, uint32_t addr, struct ohci_iso_td *td) { return (put_dwords(ohci, addr, (uint32_t *)td, 4) && put_words(ohci, addr + 16, td-

[Qemu-devel] [Bug 793317] Re: Large amount of write-only variables

2011-06-05 Thread Eli
Whoa. I completely messed up there. It's usb-ehci.c, I just thought of usb-ohci.c off the top of my head as it was way back in the console logs. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/793317 T

[Qemu-devel] [Bug 793317] Re: Large amount of write-only variables

2011-06-05 Thread Brad Hards
I'm still confused. hw/usb-ehci.c line 526 is just a variable declaration: uint8_t *pci_conf; Line 529 looks like an unused assignment, but nothing I see on line 526. Would it be possible for you to double check the work, and possible paste the error message instead of summarising them? Brad

[Qemu-devel] [Bug 793317] Re: Large amount of write-only variables

2011-06-05 Thread Eli
Yeah, that would be incredibly useful. I just wrote down a list of approximate line numbers and filenames for them, as I needed it to compile so just inserted dummy if() statements to "access" the variables. There are also a bunch more than I posted, those were just examples. -- You received this

Re: [Qemu-devel] [Bug 793317] [NEW] Large amount of write-only variables

2011-06-05 Thread David Gibson
On Mon, Jun 06, 2011 at 01:02:33AM -, Eli wrote: > Public bug reported: > > Whenever I try to compile the source from the git repo, it gets a large > number of "set but not used" errors, in files such as: > > hw/usb_ochi.c (line 526, 1114, and 1108) > hw/lsi53c895a.c (line 892) > kvm.c (line