[Qemu-devel] [PATCH] qdev: unparent device when fails to set properties

2013-12-31 Thread Amos Kong
Test steps: (qemu) device_add e1000,addr=adsf Property 'e1000.addr' doesn't take value 'adsf' (qemu) info qtree Then qemu crashed. When it fails to set properties, qdev's parent is already set, but the object hasn't been added to parent object, object_unparent() won't unparent the device. Th

Re: [Qemu-devel] [PATCH] qdev: unparent device when fails to set properties

2013-12-31 Thread Hu Tao
On Tue, Dec 31, 2013 at 04:06:57PM +0800, Amos Kong wrote: > Test steps: > (qemu) device_add e1000,addr=adsf > Property 'e1000.addr' doesn't take value 'adsf' > (qemu) info qtree > Then qemu crashed. > > When it fails to set properties, qdev's parent is already set, but the > object hasn't b

Re: [Qemu-devel] [PATCH] qdev: unparent device when fails to set properties

2013-12-31 Thread Amos Kong
On Tue, Dec 31, 2013 at 05:09:36PM +0800, Hu Tao wrote: > On Tue, Dec 31, 2013 at 04:06:57PM +0800, Amos Kong wrote: > > Test steps: > > (qemu) device_add e1000,addr=adsf > > Property 'e1000.addr' doesn't take value 'adsf' > > (qemu) info qtree > > Then qemu crashed. > > > > When it fails to

[Qemu-devel] [PATCH 1/1] Add a blank space between the variable and '='

2013-12-31 Thread Kewei Yu
Signed-off-by: Kewei Yu --- vl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vl.c b/vl.c index 7511e70..92dafa5 100644 --- a/vl.c +++ b/vl.c @@ -2922,7 +2922,7 @@ int main(int argc, char **argv, char **envp) bdrv_init_with_whitelist(); -autostart= 1; +

Re: [Qemu-devel] [PATCH v2 1/1] qtest: Fix the bug about disabling vnc causes "make check" hang

2013-12-31 Thread Peter Crosthwaite
On Tue, Dec 31, 2013 at 2:42 PM, Kewei Yu wrote: > When we disabling vnc from "./configure", the qemu can't use the vnc option. "disable", -"the", "QEMU", > So qtest can't use the "vnc -none ", otherwise "make check" will hang. > Curious, why exactly does make check hang? Shouldn't it just fail

Re: [Qemu-devel] [PATCH v2 1/1] qtest: Fix the bug about disabling vnc causes "make check" hang

2013-12-31 Thread Kewei Yu
2013/12/31 Peter Crosthwaite > On Tue, Dec 31, 2013 at 2:42 PM, Kewei Yu wrote: > > When we disabling vnc from "./configure", the qemu can't use the vnc > option. > > "disable", -"the", "QEMU", > Do you mean "s/disabling/disable; s/the\ qemu/QEMU"? > > > So qtest can't use the "vnc -none ", oth

[Qemu-devel] [PATCH 00/22] A64 decoder patchset 6: rest of floating point

2013-12-31 Thread Peter Maydell
This patchset completes the FP emulation, leaving us with only Neon (and CRC32) to go to complete the user-mode emulation. Most of this is fixing issues and adding new features to softfloat. (As usual, all Linaro authored softfloat patches are licensed under either softfloat-2a or softfloat-2b, at

[Qemu-devel] [PATCH 19/22] target-arm: A64: Add "Floating-point<->fixed-point" instructions

2013-12-31 Thread Peter Maydell
From: Alexander Graf This patch adds emulation for the instruction group labeled "Floating-point <-> fixed-point conversions" in the ARM ARM. Namely this includes the instructions SCVTF, UCVTF, FCVTZS, FCVTZU (scalar, fixed-point). Signed-off-by: Alexander Graf [WN: Commit message tweak, rebas

[Qemu-devel] [PATCH 03/22] softfloat: Add 16 bit integer to float conversions

2013-12-31 Thread Peter Maydell
Add the float to 16 bit integer conversion routines. These can be trivially implemented in terms of the int32_to_float* routines, but providing them makes our API more symmetrical and can simplify callers. Signed-off-by: Peter Maydell --- include/fpu/softfloat.h | 17 + 1 file ch

[Qemu-devel] [PATCH 07/22] softfloat: Add float32_to_uint64()

2013-12-31 Thread Peter Maydell
From: Tom Musta This patch adds the float32_to_uint64() routine, which converts a 32-bit floating point number to an unsigned 64 bit number. This contribution can be licensed under either the softfloat-2a or -2b license. V2: Reduced patch to just this single routine per feedback from Peter Mayd

[Qemu-devel] [PATCH 11/22] softfloat: Provide complete set of accessors for fp state

2013-12-31 Thread Peter Maydell
Tidy up the get/set accessors for the fp state to add missing ones and make them all inline in softfloat.h rather than some inline and some not. Signed-off-by: Peter Maydell --- The specific one we want for A64 is to get the rounding mode, but we might as well fill in the gaps. --- fpu/softfloat

[Qemu-devel] [PATCH 05/22] softfloat: Only raise Invalid when conversions to int are out of range

2013-12-31 Thread Peter Maydell
We implement a number of float-to-integer conversions using conversion to an integer type with a wider range and then a check against the narrower range we are actually converting to. If we find the result to be out of range we correctly raise the Invalid exception, but we must also suppress other

[Qemu-devel] [PATCH 15/22] target-arm: Prepare VFP_CONV_FIX helpers for A64 uses

2013-12-31 Thread Peter Maydell
From: Will Newton Make the VFP_CONV_FIX helpers a little more flexible in preparation for the A64 uses. This requires two changes: * use the correct softfloat conversion function based on itype rather than always the int32 one; this is possible now that softfloat provides int16 versions an

[Qemu-devel] [PATCH 08/22] softfloat: Fix float64_to_uint64_round_to_zero

2013-12-31 Thread Peter Maydell
From: Tom Musta The float64_to_uint64_round_to_zero routine is incorrect. For example, the following test pattern: 46697351FF4AEC29 / 0x1.97351ff4aec29p+103 currently produces 8000 instead of . This patch re-implements the routine to temporarily force the round

[Qemu-devel] [PATCH 18/22] target-arm: A64: Add extra VFP fixed point conversion helpers

2013-12-31 Thread Peter Maydell
From: Will Newton Define the full set of floating point to fixed point conversion helpers required to support AArch64. Signed-off-by: Will Newton Signed-off-by: Peter Maydell --- target-arm/helper.c | 11 ++- target-arm/helper.h | 16 2 files changed, 26 insertions(+)

[Qemu-devel] [PATCH 16/22] target-arm: Rename A32 VFP conversion helpers

2013-12-31 Thread Peter Maydell
From: Will Newton The VFP conversion helpers for A32 round to zero as this is the only rounding mode supported. Rename these helpers to make it clear that they round to zero and are not suitable for use in the AArch64 code. Signed-off-by: Will Newton Signed-off-by: Peter Maydell --- target-ar

[Qemu-devel] [PATCH 13/22] softfloat: Add float16 <=> float64 conversion functions

2013-12-31 Thread Peter Maydell
Add the conversion functions float16_to_float64() and float64_to_float16(), which will be needed for the ARM A64 instruction set. Signed-off-by: Peter Maydell --- fpu/softfloat.c | 75 + include/fpu/softfloat.h | 2 ++ 2 files changed, 77

[Qemu-devel] [PATCH 20/22] target-arm: A64: Add floating-point<->integer conversion instructions

2013-12-31 Thread Peter Maydell
From: Will Newton Add support for the AArch64 floating-point <-> integer conversion instructions to disas_fpintconv. In the process we can rearrange and simplify the detection of unallocated encodings a little. We also correct a typo in the instruction encoding diagram for this instruction group:

[Qemu-devel] [PATCH 04/22] softfloat: Fix float64_to_uint64

2013-12-31 Thread Peter Maydell
From: Tom Musta The comment preceding the float64_to_uint64 routine suggests that the implementation is broken. And this is, indeed, the case. This patch properly implements the conversion of a 64-bit floating point number to an unsigned, 64 bit integer. This contribution can be licensed under

[Qemu-devel] [PATCH 01/22] softfloat: Fix exception flag handling for float32_to_float16()

2013-12-31 Thread Peter Maydell
Our float32 to float16 conversion routine was generating the correct numerical answers, but not always setting the right set of exception flags. Fix this, mostly by rearranging the code to more closely resemble RoundAndPackFloat*, and in particular: * non-IEEE halfprec always raises Invalid for in

[Qemu-devel] [PATCH 10/22] softfloat: Fix float64_to_uint32_round_to_zero

2013-12-31 Thread Peter Maydell
From: Tom Musta The float64_to_uint32_round_to_zero routine is incorrect. For example, the following test pattern: 425F81378DC0CD1F / 0x1.f81378dc0cd1fp+38 will erroneously set the inexact flag. This patch re-implements the routine to use the float64_to_uint64_round_to_zero routine. If s

[Qemu-devel] [PATCH 14/22] softfloat: Add support for ties-away rounding

2013-12-31 Thread Peter Maydell
IEEE754-2008 specifies a new rounding mode: "roundTiesToAway: the floating-point number nearest to the infinitely precise result shall be delivered; if the two nearest floating-point numbers bracketing an unrepresentable infinitely precise result are equally near, the one with larger magnitude sha

[Qemu-devel] [PATCH 02/22] softfloat: Add float to 16bit integer conversions.

2013-12-31 Thread Peter Maydell
From: Will Newton ARMv8 requires support for converting 32 and 64bit floating point values to signed and unsigned 16bit integers. Signed-off-by: Will Newton [PMM: updated not to incorrectly set Inexact for Invalid inputs] Signed-off-by: Peter Maydell --- fpu/softfloat.c | 80 +

[Qemu-devel] [PATCH 06/22] softfloat: Fix factor 2 error for scalbn on denormal inputs

2013-12-31 Thread Peter Maydell
If the input to float*_scalbn() is denormal then it represents a number 0.[mantissabits] * 2^(1-exponentbias) (and the actual exponent field is all zeroes). This means that when we convert it to our unpacked encoding the unpacked exponent must be one greater than for a normal number, which represen

[Qemu-devel] [PATCH 22/22] target-arm: A64: Add support for FCVT between half, single and double

2013-12-31 Thread Peter Maydell
Add support for FCVT between half, single and double precision. Signed-off-by: Peter Maydell --- target-arm/helper.c| 20 + target-arm/helper.h| 2 ++ target-arm/translate-a64.c | 75 +- 3 files changed, 96 insertions(+), 1

[Qemu-devel] [PATCH 17/22] target-arm: Ignore most exceptions from scalbn when doing fixpoint conversion

2013-12-31 Thread Peter Maydell
The VFP fixed point conversion helpers first call float_scalbn and then convert the result to an integer. This scalbn operation may set floating point exception flags for: * overflow & inexact (if it overflows to infinity) * input denormal squashed to zero * output denormal squashed to zero Of t

[Qemu-devel] [PATCH 09/22] softfloat: Fix float64_to_uint32

2013-12-31 Thread Peter Maydell
From: Tom Musta The float64_to_uint32 has several flaws: - for numbers between 2**32 and 2**64, the inexact exception flag may get incorrectly set. In this case, only the invalid flag should be set. test pattern: 425F81378DC0CD1F / 0x1.f81378dc0cd1fp+38 - for numbers between 2*

[Qemu-devel] [PATCH 21/22] target-arm: A64: Add 1-source 32-to-32 and 64-to-64 FP instructions

2013-12-31 Thread Peter Maydell
This patch adds support for those instructions in the "Floating-point data-processing (1 source)" group which are simple 32-bit-to-32-bit or 64-bit-to-64-bit operations (ie everything except FCVT between single/double/half precision). We put the new round-to-int helpers in helper.c because they w

[Qemu-devel] [PATCH 12/22] softfloat: Factor out RoundAndPackFloat16 and NormalizeFloat16Subnormal

2013-12-31 Thread Peter Maydell
In preparation for adding conversions between float16 and float64, factor out code currently done inline in the float16<=>float32 conversion functions into functions RoundAndPackFloat16 and NormalizeFloat16Subnormal along the lines of the existing versions for the other float types. Note that we c

Re: [Qemu-devel] [PATCH 02/22] softfloat: Add float to 16bit integer conversions.

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > +int64_t v; > +int_fast16_t res; > +int old_exc_flags = get_float_exception_flags(status); > + > +v = float32_to_int64(a STATUS_VAR); Any good reason not to use int32 as the intermediate, for the benefit of 32-bit hosts? Otherwise, R

Re: [Qemu-devel] [PATCH 03/22] softfloat: Add 16 bit integer to float conversions

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > +/* We provide the int16 versions for symmetry of API with float-to-int */ > +INLINE float32 int16_to_float32(int_fast16_t v STATUS_PARAM) > +{ > +return int32_to_float32(v STATUS_VAR); > +} If you're going to have int16 versions, I don't think yo

Re: [Qemu-devel] [PATCH 02/22] softfloat: Add float to 16bit integer conversions.

2013-12-31 Thread Peter Maydell
On 31 December 2013 14:18, Richard Henderson wrote: > On 12/31/2013 05:35 AM, Peter Maydell wrote: >> +int64_t v; >> +int_fast16_t res; >> +int old_exc_flags = get_float_exception_flags(status); >> + >> +v = float32_to_int64(a STATUS_VAR); > > Any good reason not to use int32 as th

Re: [Qemu-devel] [PATCH 08/22] softfloat: Fix float64_to_uint64_round_to_zero

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > From: Tom Musta > > The float64_to_uint64_round_to_zero routine is incorrect. > > For example, the following test pattern: > > 46697351FF4AEC29 / 0x1.97351ff4aec29p+103 > > currently produces 8000 instead of . > >

Re: [Qemu-devel] [PATCH 09/22] softfloat: Fix float64_to_uint32

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > From: Tom Musta > > The float64_to_uint32 has several flaws: > > - for numbers between 2**32 and 2**64, the inexact exception flag >may get incorrectly set. In this case, only the invalid flag >should be set. > >test pattern: 425F

Re: [Qemu-devel] [PATCH 10/22] softfloat: Fix float64_to_uint32_round_to_zero

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > From: Tom Musta > > The float64_to_uint32_round_to_zero routine is incorrect. > > For example, the following test pattern: > > 425F81378DC0CD1F / 0x1.f81378dc0cd1fp+38 > > will erroneously set the inexact flag. > > This patch re-implements th

Re: [Qemu-devel] [PATCH 11/22] softfloat: Provide complete set of accessors for fp state

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > Tidy up the get/set accessors for the fp state to add missing ones > and make them all inline in softfloat.h rather than some inline and > some not. > > Signed-off-by: Peter Maydell > --- > The specific one we want for A64 is to get the rounding mode

Re: [Qemu-devel] [PATCH 03/22] softfloat: Add 16 bit integer to float conversions

2013-12-31 Thread Peter Maydell
On 31 December 2013 14:21, Richard Henderson wrote: > On 12/31/2013 05:35 AM, Peter Maydell wrote: >> +/* We provide the int16 versions for symmetry of API with float-to-int */ >> +INLINE float32 int16_to_float32(int_fast16_t v STATUS_PARAM) >> +{ >> +return int32_to_float32(v STATUS_VAR); >>

Re: [Qemu-devel] [PATCH 02/22] softfloat: Add float to 16bit integer conversions.

2013-12-31 Thread Richard Henderson
On 12/31/2013 06:22 AM, Peter Maydell wrote: > Or do you mean we should call float32_to_int32() instead? > I think that ought to work... Yes, that's what I meant. r~

Re: [Qemu-devel] [PATCH 03/22] softfloat: Add 16 bit integer to float conversions

2013-12-31 Thread Richard Henderson
On 12/31/2013 06:27 AM, Peter Maydell wrote: > I was going for consistency with the convert-to-int16, which return > int_fast16_t. Perhaps, but in that case we've properly bounded the result; it's guaranteed to be in range of int16_t. > The existing int32_to_float* functions take int32, not int32

Re: [Qemu-devel] [PATCH 03/22] softfloat: Add 16 bit integer to float conversions

2013-12-31 Thread Peter Maydell
On 31 December 2013 14:35, Richard Henderson wrote: > On 12/31/2013 06:27 AM, Peter Maydell wrote: >> The existing int32_to_float* functions take int32, not int32_t, >> so this is the same semantics. You could argue that it would >> be better for all of them to take the exact type rather than >> t

Re: [Qemu-devel] [PATCH 14/22] softfloat: Add support for ties-away rounding

2013-12-31 Thread Richard Henderson
[Tom, this is exactly what you need to fix FRIN rounding.] On 12/31/2013 05:35 AM, Peter Maydell wrote: > -float_round_to_zero = 3 > +float_round_to_zero = 3, > +float_round_ties_away= 4, I'm not keen on the name. Does anyone else think float_round_nearest_inf is a bett

Re: [Qemu-devel] [PATCH 14/22] softfloat: Add support for ties-away rounding

2013-12-31 Thread Peter Maydell
On 31 December 2013 14:51, Richard Henderson wrote: > [Tom, this is exactly what you need to fix FRIN rounding.] > > On 12/31/2013 05:35 AM, Peter Maydell wrote: >> -float_round_to_zero = 3 >> +float_round_to_zero = 3, >> +float_round_ties_away= 4, > > I'm not keen on the

[Qemu-devel] macvlan on host, macvtap guest, routing via host gives error

2013-12-31 Thread Nikunj Master
Hello, I have a setup on CentOS 6.5 Host configuration: macvlan0-> 10.0.0.2/24 ppp0 -> connected to the internet Guest configuration macvtap0-> 10.0.0.4/24 gateway -> 10.0.0.2 Other host on same network eth0 -> 10.0.0.3/24 gateway -> 10.0.0.2 Ping results from 10.0.0.2 to 10.0.0.4 and vice ve

Re: [Qemu-devel] [PATCH 14/22] softfloat: Add support for ties-away rounding

2013-12-31 Thread Richard Henderson
On 12/31/2013 06:56 AM, Peter Maydell wrote: > The IEEE spec specifically calls this roundTiesToAway. I'd rather > not deviate from the official name unless there's a good reason. Fair enough. r~

Re: [Qemu-devel] [PATCH 15/22] target-arm: Prepare VFP_CONV_FIX helpers for A64 uses

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > From: Will Newton > > Make the VFP_CONV_FIX helpers a little more flexible in > preparation for the A64 uses. This requires two changes: > * use the correct softfloat conversion function based on itype >rather than always the int32 one; this is

Re: [Qemu-devel] [PATCH 16/22] target-arm: Rename A32 VFP conversion helpers

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > From: Will Newton > > The VFP conversion helpers for A32 round to zero as this is the only > rounding mode supported. Rename these helpers to make it clear that > they round to zero and are not suitable for use in the AArch64 code. > > Signed-off-by

Re: [Qemu-devel] [PATCH 17/22] target-arm: Ignore most exceptions from scalbn when doing fixpoint conversion

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > The VFP fixed point conversion helpers first call float_scalbn and > then convert the result to an integer. This scalbn operation may > set floating point exception flags for: > * overflow & inexact (if it overflows to infinity) > * input denormal sq

Re: [Qemu-devel] [PATCH 18/22] target-arm: A64: Add extra VFP fixed point conversion helpers

2013-12-31 Thread Richard Henderson
On 12/31/2013 05:35 AM, Peter Maydell wrote: > From: Will Newton > > Define the full set of floating point to fixed point conversion > helpers required to support AArch64. > > Signed-off-by: Will Newton > Signed-off-by: Peter Maydell > --- > target-arm/helper.c | 11 ++- > target-arm/

Re: [Qemu-devel] [PATCH] qdev: unparent device when fails to set properties

2013-12-31 Thread Paolo Bonzini
Il 31/12/2013 09:06, Amos Kong ha scritto: > When it fails to set properties, qdev's parent is already set Do not confuse the QOM parent (which is /machine/peripheral, of which the new device is a child) with the qdev parent bus (which has a link to the new device)! In general, you should add the

Re: [Qemu-devel] [Bug 1262081] Re: qemu-system-sparc in qemu 1.7.0 fails to boot with Sun ROM

2013-12-31 Thread Artyom Tarasenko
On Tue, Dec 31, 2013 at 2:43 AM, Peter Bartoli wrote: > > On Dec 28, 2013, at 2:00 AM, Artyom Tarasenko wrote: > > Actually QEMU does set variables in NVRAM (hw/sparc/sun4m.c:151), and > afaik uses the layout of open-sourced OBP. The problem is that earlier > versions of OBP seemed to have a diff

Re: [Qemu-devel] [Bug 1262081] Re: qemu-system-sparc in qemu 1.7.0 fails to boot with Sun ROM

2013-12-31 Thread Peter Bartoli
Thanks, Artyom. Heads up: Solaris 2.5.1 doesn't boot with OpenBIOS. I'll be happy to help with some regression testing, if you like. -peter On Dec 31, 2013, at 8:02 AM, Artyom Tarasenko wrote: > On Tue, Dec 31, 2013 at 2:43 AM, Peter Bartoli wrote: >> >> On Dec 28, 2013, at 2:00 AM, Artyom T

[Qemu-devel] macvlan on host, macvtap guest, routing via host gives error

2013-12-31 Thread Nikunj Master
Hello, I have a setup on CentOS 6.5 Host configuration: macvlan0-> 10.0.0.2/24 ppp0 -> connected to the internet Guest configuration macvtap0-> 10.0.0.4/24 gateway -> 10.0.0.2 Other host on same network eth0 -> 10.0.0.3/24 gateway -> 10.0.0.2 Ping results from 10.0.0.2 to 10.0.0.4 and vice ve

Re: [Qemu-devel] [PATCH v2 1/1] qtest: Fix the bug about disabling vnc causes "make check" hang

2013-12-31 Thread Kewei Yu
Peter: Happy new year, Today is new year's day, so I will present the v3 patch according to your suggestions tomorrow , thanks for your review. Faithfully yours Kewei Yu 2013/12/31 Kewei Yu > 2013/12/31 Peter Crosthwaite > >> On Tue, Dec 31, 2013 at 2:42 PM, Kewei Yu wrote: >> > Whe

Re: [Qemu-devel] [PATCH v2 1/1] qtest: Fix the bug about disabling vnc causes "make check" hang

2013-12-31 Thread Peter Maydell
On 31 December 2013 13:29, Kewei Yu wrote: > 2013/12/31 Peter Crosthwaite >> >> On Tue, Dec 31, 2013 at 2:42 PM, Kewei Yu wrote: >> >"%s", qemu_binary, s->socket_path, >> >s->qmp_socket_path, pid_file, >> > +

Re: [Qemu-devel] [PATCH v2 1/1] qtest: Fix the bug about disabling vnc causes "make check" hang

2013-12-31 Thread Kewei Yu
2014/1/1 Peter Maydell > On 31 December 2013 13:29, Kewei Yu wrote: > > 2013/12/31 Peter Crosthwaite > >> > >> On Tue, Dec 31, 2013 at 2:42 PM, Kewei Yu wrote: > >> >"%s", qemu_binary, s->socket_path, > >> >s->qmp_socket_p

Re: [Qemu-devel] [PATCH v2 1/1] qtest: Fix the bug about disabling vnc causes "make check" hang

2013-12-31 Thread Peter Crosthwaite
On Wed, Jan 1, 2014 at 12:29 PM, Kewei Yu wrote: > > 2014/1/1 Peter Maydell >> >> On 31 December 2013 13:29, Kewei Yu wrote: >> > 2013/12/31 Peter Crosthwaite >> >> >> >> On Tue, Dec 31, 2013 at 2:42 PM, Kewei Yu wrote: >> >> >"%s", qemu_binary, s->socket_pa

Re: [Qemu-devel] [PATCH v2 1/1] qtest: Fix the bug about disabling vnc causes "make check" hang

2013-12-31 Thread Peter Crosthwaite
On Tue, Dec 31, 2013 at 11:29 PM, Kewei Yu wrote: > 2013/12/31 Peter Crosthwaite >> >> On Tue, Dec 31, 2013 at 2:42 PM, Kewei Yu wrote: >> > When we disabling vnc from "./configure", the qemu can't use the vnc >> > option. >> >> "disable", -"the", "QEMU", > > Do you mean "s/disabling/disable; s/

[Qemu-devel] Debugging bootloader with gdb in qemu

2013-12-31 Thread Maryyam Muhammad Din
I am trying to debug bootloader with gdb in QEMU. I run QEMU command like this ./qemu-system-mips64 -s -S -m 1024 -M octeon -bios u-boot-octeon_ebh5610.bin -kernel vmlinux.64 -append 'coremask=001 mem=0 root=/dev/sda2' and then connect gdb using mips64-octeon-linux-gnu-gdb u-boot-octeon_ebh56