As num cpus * 1000 is NOT a sensible rlimit, we need to calculate a
more accurate rlimit.
The number of open files is directly dependent on the cpu count and on
the number of trace points per cpu. A additional constant works as a
buffer for files that are needed by python or do get opened when
It passes gcc testsuite.
Signed-off-by: Chen Gang
---
target-tilegx/helper-fsingle.c | 212 +
1 file changed, 212 insertions(+)
create mode 100644 target-tilegx/helper-fsingle.c
diff --git a/target-tilegx/helper-fsingle.c
They are used by fsingle and fdouble helpers.
Signed-off-by: Chen Gang
---
target-tilegx/helper-fshared.c | 53 ++
1 file changed, 53 insertions(+)
create mode 100644 target-tilegx/helper-fshared.c
diff --git
The online cpus detection method is in the Stats class but does not
use any class variables.
Moving it out of the class to the platform detection function makes
the Stats class more readable.
---
scripts/kvm/kvm_stat | 30 +++---
1 file changed, 15 insertions(+), 15
The key names in log mode were capped to 10 characters which is not
enough for distinguishing between keys. Capping was therefore removed.
In batch mode the spacing between keys and values was too narrow and
therefore had to be extended to 42.
---
scripts/kvm/kvm_stat | 4 ++--
1 file changed, 2
On Thu, 10 Dec 2015 18:23:52 +0100
Markus Armbruster wrote:
> Let's follow established naming practice here as well.
>
> Cc: David Hildenbrand
> Signed-off-by: Markus Armbruster
> ---
> hw/s390x/ipl.c | 12 ++--
>
Only two of the constants are actually needed to set up the events, so
the others were removed. All variables that used them were also removed.
---
scripts/kvm/kvm_stat | 28 ++--
1 file changed, 2 insertions(+), 26 deletions(-)
diff --git a/scripts/kvm/kvm_stat
On Thu, 10 Dec 2015 18:25:34 +0100
Laszlo Ersek wrote:
> The ACPI specification (minimally versions 1.0b through 6.0) define
> the FADT.CENTURY field as:
>
> The RTC CMOS RAM index to the century of data value (hundred and
> thousand year decimals). If this field contains
On 10 December 2015 at 16:29, Markus Armbruster wrote:
> Signed-off-by: Markus Armbruster
> ---
> hw/arm/nseries.c | 4 ++--
> hw/block/fdc.c | 15 ++-
> hw/block/nand.c | 2 +-
>
The arguments of error_setg() & friends should yield a short error
string without newlines.
A few places try to append additional help to the error message by
embedding newlines in the error string. That's nice, but let's do it
the right way, with error_append_hint(). Offenders tracked down
* Markus Armbruster (arm...@redhat.com) wrote:
> Commit 6daf194d, be62a2eb and 312fd5f got rid of a bunch, but they
> keep coming back. Tracked down with the Coccinelle semantic patch
> from commit 312fd5f.
Reviewed-by: Dr. David Alan Gilbert
> Cc: Fam Zheng
The variable was only used in one class but still was defined
globally. Additionaly the detect_platform routine which prepares the
data that goes into the variable was called on each start of the
script, no matter if the class was needed.
To make the variable local to the TracepointProvider
Introduced separating newlines for readability and removed special
treatment/variable of the group leader. Renamed fmt to read_format.
The group leader's file descriptor will not be turned into a file
object anymore, instead os.read is used to read from the descriptor.
---
scripts/kvm/kvm_stat |
The main function should be the main location for initialization and
helps encapsulating variables into a scope. This way they don't have
to be global and might be mistaken for local ones.
As the providers variable is scoped now it can't be accessed from
within the Stats class. Hence, the global
On 12/10/2015 07:22 AM, Igor Mammedov wrote:
> On Mon, 7 Dec 2015 15:39:46 +0800
> Shannon Zhao wrote:
>
>> From: Shannon Zhao
>>
>> Add GPIO controller in ACPI DSDT table. It can be used for gpio event.
>>
>> Signed-off-by: Shannon Zhao
On Mon, 7 Dec 2015 15:39:48 +0800
Shannon Zhao wrote:
> From: Shannon Zhao
>
> Signed-off-by: Shannon Zhao
> Signed-off-by: Shannon Zhao
> Tested-by: Wei Huang
Reviewed-by:
On 12/10/2015 09:15 AM, Richard Henderson wrote:
> d = (uint64_t)sign << 63;
> d = deposit64(d, 53, 11, exp);
> d = deposit64(d, 21, 32, man);
> return float64_to_float32(d, fp_status);
Hmm. Actually, this incorrectly adds the implicit bit. We'd actually need to
steal portions of
On Mon, 7 Dec 2015 15:39:49 +0800
Shannon Zhao wrote:
> From: Shannon Zhao
>
> Signed-off-by: Shannon Zhao
> Signed-off-by: Shannon Zhao
> Tested-by: Wei Huang
Reviewed-by:
On Thu, Dec 10, 2015 at 8:11 AM, Michael S. Tsirkin wrote:
> On Thu, Dec 10, 2015 at 10:38:32PM +0800, Lan, Tianyu wrote:
>>
>>
>> On 12/10/2015 7:41 PM, Dr. David Alan Gilbert wrote:
>> >>Ideally, it is able to leave guest driver unmodified but it requires the
>> >>>hypervisor
On 2015-12-10 07:31, Richard Henderson wrote:
> On 12/10/2015 12:02 AM, Aurelien Jarno wrote:
> >Note: I don't really get the reason for the current 16MB limit. With the
> >standard branch instructions the offset is coded on 24 bits, but shifted
> >right by 2, which should give us a +/-32MB jumps,
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
> If the net connection between COLO's two sides is broken while colo/colo
> incoming
> thread is blocked in 'read'/'write' socket fd. It will not detect this error
> until
> connect timeout. It will be a long time.
>
> Here we shutdown
On Mon, 7 Dec 2015 15:39:50 +0800
Shannon Zhao wrote:
> From: Shannon Zhao
>
> Here GPIO pin 3 is used for Power Button, add _E03 in ACPI DSDT table.
>
> Signed-off-by: Shannon Zhao
> Signed-off-by: Shannon Zhao
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
> If we detect some error in colo, we will wait for some time,
> hoping users also detect it. If users don't issue failover command.
> We will go into default failover procedure, which the PVM will takeover
> work while SVM is exit in
On Thu, 10 Dec 2015 13:16:22 -0600
Wei Huang wrote:
>
>
> On 12/10/2015 07:22 AM, Igor Mammedov wrote:
> > On Mon, 7 Dec 2015 15:39:46 +0800
> > Shannon Zhao wrote:
> >
> >> From: Shannon Zhao
> >>
> >> Add GPIO controller
forgot to mention
git tree for testing is available at:
g...@github.com:imammedo/qemu.git drop_ASL_support_v1
or
https://github.com/imammedo/qemu/commits/drop_ASL_support_v1
and fixed-up series with fixed comments is at:
g...@github.com:imammedo/qemu.git drop_ASL_support_wip
or
On 10 December 2015 at 16:31, Dr. David Alan Gilbert (git)
wrote:
> From: "Dr. David Alan Gilbert"
>
> My fix (84e7b80a) replaced the last_sent_block update that I'd
> removed earlier; however it was too aggressive in the xbzrle case.
>
>
Let's follow established naming practice here as well.
Cc: David Hildenbrand
Signed-off-by: Markus Armbruster
---
hw/s390x/ipl.c | 12 ++--
hw/s390x/sclp.c | 14 +++---
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git
The ACPI specification (minimally versions 1.0b through 6.0) define the
FADT.CENTURY field as:
The RTC CMOS RAM index to the century of data value (hundred and
thousand year decimals). If this field contains a zero, then the RTC
centenary feature is not supported. If this field has a
On 12/07/2015 08:55 PM, Eric Blake wrote:
> We can greatly simplify things by hoisting the special case
> into the start() routine, and flipping the order in the loop
> to visit before advance:
>
> start(head)
> element = *head
> while (element) {
> visit(element)
> element =
On 12/10/15 18:23, Markus Armbruster wrote:
> The arguments of error_setg() & friends should yield a short error
> string without newlines.
>
> A few places try to append additional help to the error message by
> embedding newlines in the error string. That's nice, but let's do it
> the right
All initializations of the ctypes struct that don't need additional
information were moved to its init method. The unneeded
initializations for sample_type and sample_period were removed as they
do not affect the counters that are read.
This improves readability of the setup_event_attribute by
The struct read_format, which denotes the returned values on a read
states that the values are u64 and not long long which is used for
struct unpacking.
Therefore the 'q' long long formatter was exchanged with 'Q' which is
the format for u64 data.
---
scripts/kvm/kvm_stat | 2 +-
1 file changed,
In 2008 a patch was written that introduced ctypes.get_errno() and
set_errno() as official interfaces to the libc errno variable. Using
them we can avoid accessing private libc variables.
The patch was included in python 2.6.
Also we need to raise the right exception, with the right parameters
The architecture detection method directly accesses vmx and smv exit
reason constants. Therefore we don't need it anymore.
---
scripts/kvm/kvm_stat | 5 -
1 file changed, 5 deletions(-)
diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kvm_stat
index d81e7b6..345ead8 100755
---
Kvm_stat is a very helpful script for checking the state of VMs, but
when I tried to introduce new features it broke every few lines.
This patch series aims to make the script more readable and durable,
so future additions to it will break it less likely. It also fixes
input/output problems for
Using global variables and multiple initialization functions for arch
specific data makes the code hard to read. By grouping them in the
Arch class we encapsulate and initialize them in one place.
---
scripts/kvm/kvm_stat | 106 +--
1 file changed,
On 09/12/2015 15:57, Richard Henderson wrote:
>> I think you means the ' __attribute__((target("avx2")))', I have tried
>> this way, the issue here is:
>> without the ' -mavx2' option for gcc, there are compiling error:
>> '__m256i undeclared', the __attribute__((target("avx2")))
>> can't
On 12/10/2015 09:26 AM, Stefan Hajnoczi wrote:
On Fri, Nov 27, 2015 at 03:58:58PM +0100, Hannes Reinecke wrote:
here's now an updated version to enable ALUA and simplified
active/passive multipath support for qemu.
This patchset relies on having _two_ block devices configured,
and two SCSI
> >> without the ' -mavx2' option for gcc, there are compiling error:
> >> '__m256i undeclared', the __attribute__((target("avx2"))) can't solve
> >> this issue. Any idea?
> >
> > You're right that you can't use the normal __m256i, as it doesn't get
> > declared.
>
> It should be declared.
Laszlo Ersek writes:
> I've been following this discussion with great interest.
>
> My opinion should not be considered, because I won't be turning my
> opinion into new code, or an agreement to support / maintain code. :)
>
> My opinion is that
> - every single allocation
On Mon, Dec 07, 2015 at 07:44:24PM -0500, Neil McGill wrote:
> Has anyone seen anything like this ? all 4 qemu threads are stuck on a
> pthread condition
This is incorrect. Thread 4 is blocked in poll(2).
> QEMU emulator version 2.2.0 (Debian 1:2.2+dfsg-5expubuntu9.3~cloud0),
> Copyright (c)
Am 10.12.2015 um 09:55 schrieb Paolo Bonzini:
On 10/12/2015 03:59, Zhu Lingshan wrote:
-if (task == NULL || task->status != SCSI_STATUS_GOOD) {
+if ((rc16 != NULL) && ((task == NULL) || (task->status !=
SCSI_STATUS_GOOD))) {
+error_setg(errp, "iSCSI: failed to send
On Mon, Dec 07, 2015 at 02:22:18PM +1100, Sam Bobroff wrote:
> On Fri, Dec 04, 2015 at 02:33:01PM +0800, Stefan Hajnoczi wrote:
> > On Mon, Nov 30, 2015 at 04:34:47PM +1100, Sam Bobroff wrote:
> > > Hi QEMU programmers,
> > >
> > > While doing some experimental work on QEMU that has involved
On Fri, Nov 27, 2015 at 03:58:58PM +0100, Hannes Reinecke wrote:
> here's now an updated version to enable ALUA and simplified
> active/passive multipath support for qemu.
>
> This patchset relies on having _two_ block devices configured,
> and two SCSI disks pointing to those block devices with
Hi
On Thu, Dec 10, 2015 at 3:51 AM, Eric Blake wrote:
> On 12/09/2015 05:53 PM, marcandre.lur...@redhat.com wrote:
>> From: Marc-André Lureau
>>
>> "type" is not POSIX shell, but a bashism. (found thanks to shellcheck)
>
> NACK. 'type' is POSIX,
In vfio_listener_region_add(), the code makes sure
that the offset in the section is lower than the size
of the section.
To do this the calculation uses size of the region
instead of the region limit (size - 1).
This leads to Int128 overflow when the region has
been initialized with UINT64_MAX.
Use ldr pc, [pc, #-4] kind of branch for direct jump. This removes the
need to flush the icache on TB linking, and allow to remove the limit
on the code generation buffer.
Cc: Richard Henderson
Cc: TeLeMan
Cc: Andrzej Zaborowski
On Wed, Dec 09, 2015 at 06:22:35PM +0100, Paolo Bonzini wrote:
> On 09/12/2015 18:14, Liguori, Anthony wrote:
> > Alex Bennee and Andreas also should have access as owners. I've just
> > sent an invite to add Paolo as an owner too.
>
> Great, I've created github repos for all of:
>
>
On Do, 2015-12-10 at 05:52 +, Han, Huaitong wrote:
> Hi, Gerd
>
> I find pc-bios/bios-256k.bin has not been updated for a long time, even
> seabios is released a new version, what is the plan for seabios merged
> into qemu?
The new seabios version missed -rc0 (hard freeze) by a few days, so
On 10/12/2015 01:39, Hollis Blanchard wrote:
>
> Not sure I understand. Do you mean something like this?
> -trace_memory_region_ops_write(mr, addr, tmp, size);
> +trace_memory_region_ops_write(mr, addr, mr->ops->write ==
> subpage_write, tmp, size);
There is also a mr->subpage that you can
"Dr. David Alan Gilbert" writes:
> * Markus Armbruster (arm...@redhat.com) wrote:
>> "Dr. David Alan Gilbert" writes:
>>
>> > * Markus Armbruster (arm...@redhat.com) wrote:
>> >> In general, code running withing a realize() method should not exit() on
On 10/12/2015 10:22, Li, Liang Z wrote:
without the ' -mavx2' option for gcc, there are compiling error:
'__m256i undeclared', the __attribute__((target("avx2"))) can't solve
this issue. Any idea?
>>>
>>> You're right that you can't use the normal __m256i, as it doesn't get
>>>
On Thu, Dec 10, 2015 at 11:04:54AM +0800, Lan, Tianyu wrote:
>
> On 12/10/2015 4:07 AM, Michael S. Tsirkin wrote:
> >On Thu, Dec 10, 2015 at 12:26:25AM +0800, Lan, Tianyu wrote:
> >>On 12/8/2015 12:50 AM, Michael S. Tsirkin wrote:
> >>>I thought about what this is doing at the high level, and I
On 10/12/2015 03:59, Zhu Lingshan wrote:
> -if (task == NULL || task->status != SCSI_STATUS_GOOD) {
> +if ((rc16 != NULL) && ((task == NULL) || (task->status !=
> SCSI_STATUS_GOOD))) {
> +error_setg(errp, "iSCSI: failed to send readcapacity16 command.");
> +}
You need an
s->qcow_version is always set to 2 or 3. Let's assert if this is wrong.
Signed-off-by: Denis V. Lunev
CC: Roman Kagan
CC: Max Reitz
CC: Kevin Wolf
---
block/qcow2.c | 4
1 file changed, 4 insertions(+)
diff
On 12/11/15 05:37, Richard Henderson wrote:
> On 12/10/2015 06:16 AM, Chen Gang wrote:
[...]
>>
>> diff --git a/target-tilegx/cpu.h b/target-tilegx/cpu.h
>> index 03df107..445a606 100644
>> --- a/target-tilegx/cpu.h
>> +++ b/target-tilegx/cpu.h
>> @@ -88,6 +88,8 @@ typedef struct CPUTLGState {
On 12/10/2015 06:16 AM, Chen Gang wrote:
>
> It passes normal building, and gcc testsuite.
>
> Signed-off-by: Chen Gang
> ---
> target-tilegx/Makefile.objs | 3 +-
> target-tilegx/cpu.h | 2 ++
> target-tilegx/helper.h | 12
>
On 12/11/15 04:18, Richard Henderson wrote:
> On 12/10/2015 09:15 AM, Richard Henderson wrote:
>> d = (uint64_t)sign << 63;
>> d = deposit64(d, 53, 11, exp);
>> d = deposit64(d, 21, 32, man);
>> return float64_to_float32(d, fp_status);
>
> Hmm. Actually, this incorrectly adds the
Raspberry Pi needs this change as well. I don't mind if it's as implemented
below, or conditional under a flag property.
Tested-By: Andrew Baumann
Thanks,
Andrew
> From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com]
> Sent: Thursday, 10 December 2015
On 12/10/2015 06:15 AM, Chen Gang wrote:
> +#define TILEGX_F_MAN_HBIT (1ULL << 59)
...
> +static uint64_t fr_to_man(float64 d)
> +{
> +uint64_t val = get_f64_man(d) << 7;
> +
> +if (get_f64_exp(d)) {
> +val |= TILEGX_F_MAN_HBIT;
> +}
> +
> +return val;
> +}
One presumes
Le 10/12/2015 11:29, Markus Armbruster a écrit :
We can have at most one ISA bus. If you try to create another one,
isa_bus_new() complains to stderr and returns null.
isa_bus_new() is called in two contexts, machine's init() and device's
realize() methods. Since complaining to stderr is not
On 11/25/2015 10:05 PM, Fam Zheng wrote:
> A visible improvement is that "filename" is now included in the output
> if it's valid.
>
> Reviewed-by: Eric Blake
> Signed-off-by: Fam Zheng
> ---
> qemu-img.c | 34 ++--
>
CCing Andrew who ran into a similar issue for rPI.
On Sat, Nov 28, 2015 at 12:50 PM, Peter Crosthwaite
wrote:
> This check was conditionalising SD card operation on the card being
> powered by the SDHCI host controller. It is however possible
> (particularly in
On 12/10/2015 01:15 AM, Bharata B Rao wrote:
> Hi,
>
> This is an attempt to define a generic CPU device that serves as a
> containing device to underlying arch-specific CPU devices. The motivation
> for this is to have an arch-neutral way to specify CPUs mainly during
> hotplug.
>
> Instead of
Dear John,
I already send a new patch with V2. Please see that one!
> On December 10, 2015 at 10:26 PM John Snow wrote:
>
>
>
>
> On 12/08/2015 03:49 PM, Boris Schrijver wrote:
> > See inline! Thanks for your response!
> >
> > --
> >
> > Met vriendelijke groet / Kind
Le 10/12/2015 11:29, Markus Armbruster a écrit :
isa_bus_irqs(), isa_create() and isa_try_create() call hw_error() when
passed a null bus. Use of hw_error() has always been questionable,
because these are used only during machine initialization, and
printing CPU registers isn't useful there.
On 12/11/15 01:15, Richard Henderson wrote:
> On 12/10/2015 06:15 AM, Chen Gang wrote:
>> +#define TILEGX_F_CALC_CVT 0 /* convert int to fsingle */
>> +#define TILEGX_F_CALC_NCVT 1 /* Not convertion */
>> +
>> +static uint32_t get_f32_exp(float32 f)
>> +{
>> +return
On 12/09/2015 05:37 PM, Boris Schrijver wrote:
> Dear all,
>
> Thanks for your time so-far.
>
> I send a mail to the libcurl development list and got a helpful reaction [1]!
> I
> changed my patch accordingly. We now don't have to check for a
> CURLE_WRITE_ERROR
> anymore and
On Mon, 7 Dec 2015 15:39:47 +0800
Shannon Zhao wrote:
> From: Shannon Zhao
>
> Add power button device in ACPI DSDT table.
>
> Signed-off-by: Shannon Zhao
> Signed-off-by: Shannon Zhao
>
On 12/08/2015 03:49 PM, Boris Schrijver wrote:
> See inline! Thanks for your response!
>
> --
>
> Met vriendelijke groet / Kind regards,
>
> Boris Schrijver
>
> PCextreme B.V.
>
> http://www.pcextreme.nl/contact
> Tel direct: +31 (0) 118 700 215
>
>> On December 8, 2015 at 8:40 PM John
The functions for migrating the hash page table on pseries machine type
(htab_save_setup() and htab_load()) can report some errors with an
explicit fprintf() before returning an appropriate eror code. Change these
to use error_report() instead.
Signed-off-by: David Gibson
The spapr_alloc_htab() and spapr_reset_htab() functions currently handle
all errors with error_setg(_abort, ...). That's correct for
spapr_reset_htab() - if anything goes wrong there, there's really nothing
we can do about it. For spapr_alloc_htab() _fatal would make more
sense, since it occurs
Use error_setg() and _fatal instead of an explicit exit().
Signed-off-by: David Gibson
---
hw/ppc/spapr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index fd16db4..546d2f5 100644
--- a/hw/ppc/spapr.c
+++
Use error_setg() and return an error, rather than using an explicit exit().
Also improve messages, and be more explicit about which constraint failed.
Signed-off-by: David Gibson
---
hw/ppc/spapr.c | 37 ++---
1 file changed, 22
From: Guillaume Subiron
This patch adds SCALE_S, timer_new_s(), and qemu_clock_get_s in qemu/timer.h to
manage second-scale timers.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
---
include/qemu/timer.h
From: Guillaume Subiron
This patch simply adds a sa_family_t argument to remove the hardcoded
"AF_INET" in the call of qemu_socket().
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
---
slirp/slirp.h
From: Guillaume Subiron
This patch adds the functions needed to handle IPv6 packets. ICMPv6 and
NDP headers are implemented.
Slirp is now able to send NDP Router or Neighbor Advertisement when it
receives Router or Neighbor Solicitation. Using a 64bit-sized IPv6
prefix, the
On 12/10/2015 04:53 PM, Eric Blake wrote:
> We have several places that want to go from qapi to JSON; right now,
> they have to create an intermediate QObject to do the work. That
> also has the drawback that the JSON formatting of a QDict will
> rearrange keys (according to a deterministic, but
Pull out a new qstring_append_json_number() helper, so that all
JSON output producers can use a consistent style for printing
floating point without duplicating code (since we are doing more
data massaging than a simple printf format).
Address one FIXME by adding an Error parameter and warning
Instead of rolling our own limited JSON outputter, we can just
wrap the more full-featured JSON output Visitor.
This slightly changes the output (different spacing), but the
result is still equivalent JSON contents.
Signed-off-by: Eric Blake
---
qjson.c | 61
We have several places that want to go from qapi to JSON; right now,
they have to create an intermediate QObject to do the work. That
also has the drawback that the JSON formatting of a QDict will
rearrange keys (according to a deterministic, but unpredictable,
hash), when humans have an easier
The next patch will add pretty indentation to the JSON visitor.
But in order to support pretty output in the type_any() callback,
we need to prefix every line of the QObject visitor by the current
indentation in the JSON visitor. Hence, a new function
qobject_to_json_pretty_indent(), and the old
We have two different JSON visitors in the tree; and having both
named 'qjson.h' can cause include confusion. Rename the qapi
version.
Kill trailing whitespace in the renamed tests/check-qobject-json.c
to keep checkpatch.pl happy.
Signed-off-by: Eric Blake
---
MAINTAINERS
Use error_setg() to return an error rather than an explicit exit().
Previously it was an exit(0) instead of a non-zero exit code, which was
simply a bug.
Also improve the error message.
Signed-off-by: David Gibson
---
hw/ppc/spapr.c | 10 +-
1 file changed,
Use error_setg() to return an error instead of using an explicit exit().
Signed-off-by: David Gibson
---
hw/ppc/spapr.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 0ff09b9..fd16db4 100644
---
From: Guillaume Subiron
No code change.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
---
slirp/tcp_input.c | 95 +++---
slirp/tcp_output.c | 29
From: Guillaume Subiron
This patch factorizes some duplicate code into a new function,
sotranslate_out(). This function perform the address translation when a
packet is transmitted to the host network. If the paquet is destinated
to the host, the loopback address is used,
From: Guillaume Subiron
This patch replaces foreign and local address/port couples in Socket
structure by 2 sockaddr_storage which can be casted in sockaddr_in.
Direct access to address and port is still possible thanks to some
\#define, so retrocompatibility of the existing
From: Guillaume Subiron
No code change.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
---
slirp/slirp.c | 117 +-
1 file changed, 59
From: Yann Bordenave
This patch adds parameters to manage some new options in the qemu -net
command.
Slirp IPv6 address, network prefix, and DNS IPv6 address can be given in
argument to the qemu command.
Defaults parameters are respectively fec0::2, fec0::, /64 and fec0::3.
From: Guillaume Subiron
This patch factorizes the tcpiphdr structure to put the IPv4 fields in
an union, for addition of version 6 in further patch.
Using some macros, retrocompatibility of the existing code is assured.
This patch also fixes the SLIRP_MSIZE and margin
Back in commit 764c1ca (Nov 2009), we added qstring_append_int().
However, it did not see any use until commit 190c882 (Jan 2015).
Furthermore, it has a rather limited use case - to print anything
else, callers still have to format into a temporary buffer, unless
we want to introduce an explosion
Similar to pretty printing in the QObject visitor. Trickiest
parts are the fact that during type_any(), we have to coordinate
with QObject to also print pretty; and the fact that the testsuite
now has to honor parameterization on whether pretty printing is
enabled.
Signed-off-by: Eric Blake
Now that we can pretty-print straight to JSON from a visitor,
we can eliminate the temporary conversion into QObject inside
qemu-img.
RFC because at least qemu-iotests 043 has changed output, not
included in this version of the patch. Conflicts with Fam's
qemu-img edits, so one of the two of us
Current ppc_set_compat() returns -1 for errors, and also (unconditionally)
reports an error message. The caller in h_client_architecture_support()
may then report it again using an outdated fprintf().
Clean this up by using the modern error reporting mechanisms.
Signed-off-by: David Gibson
Use the error handling infrastructure to pass an error out from
try_create_xics() instead of assuming _abort - the caller is in a
better position to decide on error handling policy.
Signed-off-by: David Gibson
---
hw/ppc/spapr.c | 6 +++---
1 file changed, 3
From: Guillaume Subiron
This patch adds an IPv6 address to the DNS relay. in6_equal_dns() is
developed using this Slirp attribute.
sotranslate_in/out/accept() are also updated to manage the IPv6 case so the
guest can be able to join the host using one of the Slirp addresses.
From: Guillaume Subiron
This patch makes solookup() compatible with varying address families. Also,
this function was only compatible with TCP. Having the socket list in
argument, it is now compatible with UDP too. Finally, some optimization
code is factorized inside the
Hello,
This is another respin of IPv6 in Qemu -net user mode.
These patches add ICMPv6, NDP, and make UDP and TCP compatible with
IPv6. We have made some refactoring to make current code compatible with
IPv6.
Patches 1 to 8 are refactoring of existing code and do not change the behavior,
9 adds
From: Guillaume Subiron
Before this patch, if sosendto fails, udp_input is executed as if the
packet was sent, recording the packet for icmp errors, which does not
makes sense since the packet was not actually sent, errors would be
related to a previous packet.
This patch
1 - 100 of 299 matches
Mail list logo