On 08/11/2014 05:38 PM, 吴兴博 wrote:
> Hello,
>
> The introduction in the wiki page present several advantages of qcow2
> [1]. But I'm a little confused. I really appreciate if any one can give me
> some help on this :).
>
> (1) Currently the raw format doesn't support COW. In other words, a raw
On Mon, Aug 04, 2014 at 04:22:44PM +0530, Amit Shah wrote:
> Add some trace events to virtio-rng for easier debugging
>
> Signed-off-by: Amit Shah
>
> ---
> v2:
> - requested_size trace event now shows proper values
> ---
> hw/virtio/virtio-rng.c | 6 ++
> trace-events | 5 +
On Tue, Aug 12, 2014 at 02:20:34PM +0100, Stefan Hajnoczi wrote:
> On Fri, Aug 01, 2014 at 03:39:58PM +0200, Levente Kurusa wrote:
> > Fixed size VPC images do not have a footer, hence the current probe
> > function will fail and QEMU will fall back to the raw_bsd driver, which is
> > not the corre
The following changes since commit 2d591ce2aeebf9620ff527c7946844a3122afeec:
Merge remote-tracking branch 'remotes/mdroth/qga-pull-2014-08-08' into
staging (2014-08-08 14:16:05 +0100)
are available in the git repository at:
git://github.com/stefanha/qemu.git tags/tracing-pull-request
for
The simpletrace SystemTap tapset outputs simpletrace binary traces for
SystemTap probes. This is useful because SystemTap has no default way
to format or store traces. The simpletrace SystemTap tapset provides an
easy way to store traces.
The simpletrace.py tool or custom Python scripts using th
From: Lluís Vilanova
Transforms event:
tcg name(...) "...", "..."
into two internal events:
tcg-trans name_trans(...) "..."
tcg-exec name_exec(...) "..."
Signed-off-by: Lluís Vilanova
Signed-off-by: Stefan Hajnoczi
---
scripts/tracetool/__init__.py| 64 +++
SystemTap reserved words sometimes conflict with QEMU variable names.
We escape them to prevent conflicts.
Move escaping into its own function so the next patch can reuse it.
Signed-off-by: Stefan Hajnoczi
---
scripts/tracetool/format/stap.py | 11 ---
1 file changed, 8 insertions(+), 3
This new tracetool "format" generates a SystemTap .stp file that outputs
simpletrace binary trace data.
In contrast to simpletrace or ftrace, SystemTap does not define its own
trace format. All output from SystemTap is generated by .stp files.
This patch lets us generate a .stp file that outputs
It can be useful to read simpletrace files that have no header. For
example, a ring buffer may not have a header record but can still be
processed if the user is sure the file format version is compatible.
$ scripts/simpletrace.py --no-header trace-events trace-file
Signed-off-by: Stefan Hajno
From: Lluís Vilanova
Generates header "trace/generated-helpers-wrappers.h" with definitions for TCG
helper wrappers.
These wrappers ('gen_helper_trace_${event}_exec_wrapper') transform mixed native
and TCG argument types to TCG types and call the actual TCG helpers
('gen_helper_trace_${event}_ex
From: Lluís Vilanova
Generates file "trace/generated-helpers.c" with TCG helper definitions to trace
events in guest code at execution time.
The helpers ('helper_trace_${event}_exec_proxy') cast the TCG-compatible native
argument types to their original types (as defined in "trace-events") and c
From: Lluís Vilanova
Signed-off-by: Lluís Vilanova
Signed-off-by: Stefan Hajnoczi
---
docs/tracing.txt | 40
1 file changed, 40 insertions(+)
diff --git a/docs/tracing.txt b/docs/tracing.txt
index c6ab1c1..2e035a5 100644
--- a/docs/tracing.txt
+++ b/do
From: Lluís Vilanova
Signed-off-by: Lluís Vilanova
Signed-off-by: Stefan Hajnoczi
---
scripts/tracetool/transform.py | 166 +
1 file changed, 166 insertions(+)
create mode 100644 scripts/tracetool/transform.py
diff --git a/scripts/tracetool/transform.p
From: Lluís Vilanova
Otherwise the user has to explicitly include an auto-generated header.
Signed-off-by: Lluís Vilanova
Signed-off-by: Stefan Hajnoczi
---
include/trace.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/trace.h b/include/trace.h
index c15f498..44a1f1f 100644
---
From: Lluís Vilanova
Signed-off-by: Lluís Vilanova
Signed-off-by: Stefan Hajnoczi
---
include/exec/helper-gen.h | 2 ++
include/exec/helper-proto.h | 1 +
include/exec/helper-tcg.h | 1 +
3 files changed, 4 insertions(+)
diff --git a/include/exec/helper-gen.h b/include/exec/helper-gen.h
i
From: Lluís Vilanova
Signed-off-by: Lluís Vilanova
Signed-off-by: Stefan Hajnoczi
---
scripts/tracetool/__init__.py | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/scripts/tracetool/__init__.py b/scripts/tracetool/__init__.py
index e8e8edc..bd
From: Mike Frysinger
The current code always returns the length of the path when it should
be returning the number of bytes it wrote to the output string.
Further, readlink is not supposed to append a NUL byte, but the current
snprintf logic will always do just that.
Even further, if you pass i
From: Lluís Vilanova
Signed-off-by: Lluís Vilanova
Signed-off-by: Stefan Hajnoczi
---
target-alpha/translate.c | 3 +++
target-arm/translate-a64.c| 2 ++
target-arm/translate.c| 3 +++
target-cris/translate.c | 3 +++
target-i386/translate.c | 3 +++
target-lm32/tr
From: Lluís Vilanova
Generate header "trace/generated-tcg-tracers.h" with the necessary routines for
tracing events in guest code:
* trace_${event}_tcg
Convenience wrapper that calls the translation-time tracer
'trace_${event}_trans', and calls 'gen_helper_trace_${event}_exec to
generate
From: Lluís Vilanova
Generates file "trace/generated-helpers.h" with TCG helper declarations to trace
events in guest code at execution time ('trace_${event}_exec_proxy').
Signed-off-by: Lluís Vilanova
Signed-off-by: Stefan Hajnoczi
---
.gitignore | 1 +
Makefil
From: Riku Voipio
Add support for the setns and unshare syscalls, trivially passed through to
the host. Based on patches by Paul Burton, added configure check.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
configure | 20
linux-user/strace.list |
From: Riku Voipio
While Mikhail fixed /proc/self/maps, it was noticed openat calls are
not redirected currently. Some archs don't have open at all, so
openat needs to be redirected.
Fix this by consolidating open/openat code to do_openat - open
is implemented using openat(AT_FDCWD, ... ), which
From: Alex Bennée
This makes the UST backend pay attention to the format string arguments
that are defined when defining payload data. With this you can now
ensure integers are reported in hex mode if you want.
Signed-off-by: Alex Bennée
Signed-off-by: Stefan Hajnoczi
---
scripts/tracetool/__
From: Alex Bennée
This adds a couple of tcg specific trace-events which are useful for
tracing execution though tcg generated blocks. It's been tested with
lttng user space tracing but is generic enough for all systems. The tcg
events are:
* translate_block - when a subject block is translated
From: Joakim Tjernlund
QEMU can autodetect if it is started from Linux binfmt loader
when binfmt flag O is on.
Use that and require binfmt flag P as well which will enable QEMU
to pass in correct argv0 to the application.
Signed-off-by: Joakim Tjernlund
Signed-off-by: Riku Voipio
---
linux-us
From: Mikhail Ilyin
Build /proc/self/maps doing a match against guest memory translation table.
Output only that map records which are valid for guest memory layout.
Signed-off-by: Mikhail Ilyin
Signed-off-by: Riku Voipio
---
include/exec/cpu-all.h | 2 ++
linux-user/syscall.c | 25 +++
Signed-off-by: Benoit Canet
---
tests/test-throttle.c | 51 +++
1 file changed, 51 insertions(+)
diff --git a/tests/test-throttle.c b/tests/test-throttle.c
index 66e4982..494a806 100644
--- a/tests/test-throttle.c
+++ b/tests/test-throttle.c
@@ -14
From: Paul Burton
Add support for the ioprio_get & ioprio_set syscalls, allowing their
use by target programs.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/linux-user/syscall.c b/linux-us
From: Amit Shah
Add some trace events to virtio-rng for easier debugging
Signed-off-by: Amit Shah
Reviewed-by: Amos Kong
Signed-off-by: Stefan Hajnoczi
---
hw/virtio/virtio-rng.c | 6 ++
trace-events | 5 +
2 files changed, 11 insertions(+)
diff --git a/hw/virtio/virtio-r
From: Riku Voipio
Implement support for the name_to_handle_at and open_by_handle_at
syscalls, allowing their use by the target program.
Modified by Riku - move syscalls to functions and put behind
the already existing CONFIG_OPEN_BY_HANDLE to avoid build failure
with old glibc's.
Signed-off-by:
Signed-off-by: Benoit Canet
---
block.c | 157 --
block/qapi.c | 2 +-
blockdev.c| 16 -
hmp.c | 4 +-
include/block/block.h | 2 +-
include/block/block_int.h | 9 +--
i
This patch transform the timer_pending call into two boolean values in the
ThrottleState structure.
This way we are sure that when multiple timers will be used only
one can be armed at a time.
Signed-off-by: Benoit Canet
---
block.c | 2 ++
include/qemu/throttle.h | 3 +++
uti
From: Peter Maydell
There were a number of bugs in the conversion of the sigevent
argument to timer_create from target to host format:
* signal number not converted from target to host
* thread ID not copied across
* sigev_value not copied across
* we never unlocked the struct when we were do
From: Jincheng Miao
Currently syscall instruction is buggy on user mode X86_64,
the EIP is updated after do_syscall(), that is too late for
clone(). Because clone() will create a thread at the env->EIP
(the address of syscall insn), and then child thread enters
do_syscall() again, that is not exp
These patches fix assorted bugs in the emulation of Power Fixed Point Unit
instructions.
All instructions have been thorougly tested by running millions of random
patterns through actual hardware and comparing the results against QEMU.
The bugs all appear to be limited to 64 bit implementations.
From: Riku Voipio
Adds support for the timerfd_create, timerfd_gettime & timerfd_settime
syscalls, allowing use of timerfds by target programs.
v2: By Riku - added configure check for timerfd and ifdefs
for benefit of old distributions like RHEL5.
Signed-off-by: Paul Burton
Signed-off-by: Riku
The throttle_group_incref increment the refcount of a throttle group given it's
name and return the associated throttle state.
The throttle_group_unref is the mirror function for cleaning up.
Signed-off-by: Benoit Canet
---
include/block/block_int.h | 1 +
include/qemu/throttle-groups.h
For 64 bit implementations, the special case of a shift by zero
should result in the sign extension of the least significant 32 bits
of the source GPR (not a direct copy of the 64 bit source GPR).
Example:
R3 A6212433228F41DC
srawi 3,3,0
R3 expected : 228F41DC
R3 actual : A6212433228F41
The rlwnm specification includes the ROTL32 operation, which is defined
to be a left rotation of two copies of the least significant 32 bits of
the source GPR.
The current implementation is incorrect on 64-bit implementations in that
it rotates a single copy of the least significant 32 bits, paddi
From: Riku Voipio
The current contents of linux-user git tree at
git://git.linaro.org/people/riku.voipio/qemu.git linux-user-for-upstream
For testing and review. I'm still need to test some (especially my) patches
before sending them in pull request. Since this needs a update in my ltp
test
Group throttling will share ThrottleState between multiple bs.
As a consequence the ThrottleState will be accessed by multiple aio context.
Timers are tied to their aio context so they must go out of the ThrottleState
structure.
This commit pave the way for each bs of a common ThrottleState to h
The rlwinm specification includes the ROTL32 operation, which is defined
to be a left rotation of two copies of the least significant 32 bits of
the source GPR.
The current implementation is incorrect on 64-bit implementations in that
it rotates a single copy of the least significant 32 bits, padd
Hi,
Here is my current wip on the throttle group support.
For the user interface I implemented Stefanha's idea proposed in Stuttgart.
For the throttling algorithm I use a cooperative round robin scheduler.
Classical round robin works with a fixed HZ ticks and it's totaly incompatible
with the t
The rlwimi specification includes the ROTL32 operation, which is defined
to be a left rotation of two copies of the least significant 32 bits of
the source GPR.
The current implementation is incorrect on 64-bit implementations in that
it rotates a single copy of the least significant 32 bits, padd
Fix the code to properly detect overflow; the 128 bit signed
product must have all zeroes or all ones in the first 65 bits
otherwise OV should be set.
Example:
R3 45F086A5D5887509
R4 0002
mulldo 3,3,4
Should set XER[OV].
Signed-off-by: Tom Musta
---
target-ppc/int_helper.c | 14
For 64-bit implementations, the mullw result is the 64 bit product
of the sign-extended least significant 32 bits of the source
registers.
Fix the code to properly sign extend the source operands and produce
a 64 bit product.
Example:
R3 002F37A0
R4 41C33D242F816715
mullw 3,3,4
R3 expecte
Thanks for your information. It's really helpful.
I think adding a bitmap alongside the raw file ( or just within that file)
would be suffice to distinguish between present or in backing file.
The idea in FVD looks similar to 'addcow'---use bitmap but delegating
allocation to FS. However FVD seems
On 64-bit implementations, the mullwo result is the 64 bit product of
the signed 32 bit operands. Fix the implementation to properly deposit
the upper 32 bits into the target register.
Example:
R3 0407DED115077586
R4 53778DF3CA992E09
mullwo 3,3,4
R3 expected : FB9D02730D7735B6
R3 actual :
Fix the check for carry in the srad helper to properly construct
the mask -- a "1ULL" must be used (instead of "1") in order to
get the desired result.
Example:
R3 8000
R4 F3511AD4A2CD4C38
srad 3,3,4
Should *not* set XER[CA] but does without this patch.
Signed-off-by: Tom Musta
---
* Dr. David Alan Gilbert (dgilb...@redhat.com) wrote:
> * Sanidhya Kashyap (sanidhya.ii...@gmail.com) wrote:
> > The file not only extracts the bitmap from the file but also draws the
> > figure
> > if required. Currently, figure is drawn for all the bitmaps. Later, I'll
> > make
> > the change t
On 08/12/2014 07:45 AM, 吴兴博 wrote:
[please don't top-post on technical lists]
> Thanks for your information. It's really helpful.
> I think adding a bitmap alongside the raw file ( or just within that file)
Umm, how do you propose to add a bitmap within a raw file? The moment
the file contains
On 07/31/2014 09:12 PM, Sanidhya Kashyap wrote:
> No functional change except the variable name.
This comment feels more like it is a changelog of what is different from
v4. If so, it belongs...
>
> Signed-off-by: Sanidhya Kashyap
> ---
...here, after the --- separator. It makes no sense in
On 07/31/2014 09:12 PM, Sanidhya Kashyap wrote:
> Signed-off-by: Sanidhya Kashyap
> ---
> hmp-commands.hx | 14 ++
> hmp.c| 5 +
> hmp.h| 1 +
> qapi-schema.json | 9 +
> qmp-commands.hx | 20
> savevm.c | 14 ++
On 07/31/2014 09:12 PM, Sanidhya Kashyap wrote:
> No functional change except the variable name -- frequency has been modified
> to period.
This sounds like patch revision information that belongs...
>
> Signed-off-by: Sanidhya Kashyap
> ---
...here.
> hmp-commands.hx | 15 +++
>
On Tue, Aug 12, 2014 at 10:07 AM, Eric Blake wrote:
> On 08/12/2014 07:45 AM, 吴兴博 wrote:
>
> [please don't top-post on technical lists]
>
> Sorry about that..
> > Thanks for your information. It's really helpful.
> > I think adding a bitmap alongside the raw file ( or just within that
> file)
>
On 12.08.14 15:45, Tom Musta wrote:
These patches fix assorted bugs in the emulation of Power Fixed Point Unit
instructions.
All instructions have been thorougly tested by running millions of random
patterns through actual hardware and comparing the results against QEMU.
The bugs all appear to
Sorry, when the table only had the two entries i drew some bad
assumptions from that, and I also missed the fact that hangs were in the
host kernel.
To be clear, running qemu 1.5 on the same host kernel has no issues with
any guest, while qemu 2.0 causes host kernel to hang (indefinately) with
som
Andrey: the bug also occurs when not using '--copy-storage-inc'. I
originally encountered the bug on a pair of servers that share a
glusterfs filesystem. As part of the debugging effort, I took glusterfs
out of the equation to show that it is not the cause of the issue. My
test envirement is theref
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on the remote server configuration and network
traffic. The user should be able to set how much long he is
willing to wait for the connection.
Adding a new option to set this timeout gives the user this
flexibility. The
pc_fw_cfg_guest_info() never does anything, because has_pci_info is
always false.
Introduced in commit f8c457b "pc: pass PCI hole ranges to Guests",
disabled in commit 9604f70 "pc: disable pci-info for 1.6", and hasn't
been enabled since. Obviously a dead end. Get of it.
Signed-off-by: Markus A
Indeed, with qemu 1.5 we did not observed this issue at all.
Sorry, but I don't have the resources at the moment to do the bisecting.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1353947
Title:
Hy
Hi,
On Mon, Aug 04, 2014 at 11:45:27AM -0500, Tom Musta wrote:
> This series of patches is the result of executing the Linux Test Program
> (LTP) System Call bucket (https://github.com/linux-test-project/ltp)
> on the 64 bit big and little endian linux user mode targets for Power.
>
> Some of the
On 08/12/2014 07:37 PM, Alexander Graf wrote:
>
> On 12.08.14 02:03, Alexey Kardashevskiy wrote:
>> On 08/12/2014 03:30 AM, Alexander Graf wrote:
>>> On 11.08.14 17:01, Alexey Kardashevskiy wrote:
On 08/11/2014 10:02 PM, Alexander Graf wrote:
> On 31.07.14 11:34, Alexey Kardashevskiy wrot
help
2014-08-12 23:11 GMT+08:00 :
> Send Qemu-devel mailing list submissions to
> qemu-devel@nongnu.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.nongnu.org/mailman/listinfo/qemu-devel
> or, via email, send a message with subject or body 'help'
Hi Gu,
Looks more likely logic ordering to me based on indexes. Don't spend time
looking into it, let me look into it if I have done something wrong and fix
it .
Thanks
Anshul Makkar
On Mon, Aug 11, 2014 at 4:35 PM, Anshul Makkar <
anshul.mak...@profitbricks.com> wrote:
> Hi Gu,
>
> These are
On 8/12/2014 9:54 AM, Riku Voipio wrote:
> Hi,
>
> On Mon, Aug 04, 2014 at 11:45:27AM -0500, Tom Musta wrote:
>> This series of patches is the result of executing the Linux Test Program
>> (LTP) System Call bucket (https://github.com/linux-test-project/ltp)
>> on the 64 bit big and little endian l
On 12.08.14 17:10, Alexey Kardashevskiy wrote:
On 08/12/2014 07:37 PM, Alexander Graf wrote:
On 12.08.14 02:03, Alexey Kardashevskiy wrote:
On 08/12/2014 03:30 AM, Alexander Graf wrote:
On 11.08.14 17:01, Alexey Kardashevskiy wrote:
On 08/11/2014 10:02 PM, Alexander Graf wrote:
On 31.07.14
On 08/12/2014 08:14 AM, 吴兴博 wrote:
>>> However FVD seems to have been ignored by community.
>>
>> Care to give a pointer to a URL describing the FVD format?
>>
>> http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg00398.html
>
> This thread could be the clearest message on FVD.
That very
On 08/12/2014 08:35 AM, Daniel Henrique Barboza wrote:
> The curl hardcoded timeout (5 seconds) sometimes is not long
> enough depending on the remote server configuration and network
> traffic. The user should be able to set how much long he is
> willing to wait for the connection.
>
> Adding a n
On 08/12/2014 09:21 AM, Moer Cos wrote:
> help
>
>
> 2014-08-12 23:11 GMT+08:00 :
>
>> Send Qemu-devel mailing list submissions to
>> qemu-devel@nongnu.org
>>
Top-posted replies to a digest message, with no content other than
"help", will not get you any useful response. Please don't r
On 08/03/14 17:28, Chen Gang wrote:
> In dump_init(), when failure occurs, need notice about 'fd' and memory
> mapping. So call dump_cleanup() for it (need let all initializations at
> front).
>
> Also simplify dump_cleanup(): remove redundant 'ret' and redundant 'fd'
> checking.
>
> Signed-off-b
Hello,
On Tue, Aug 12, 2014 at 5:41 AM, Li Liu wrote:
>
> Hi all,
>
> Is anyone there can tell the current status of vhost-net on kvm-arm?
>
> Half a year has passed from Isa Ansharullah asked this question:
> http://www.spinics.net/lists/kvm-arm/msg08152.html
>
> I have found two patches which
Hi Dann,
yeah, thanks - let's mark this fixed and open a new one.
** Changed in: qemu
Status: New => Fix Released
** Changed in: qemu (Ubuntu)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed
On 04.08.14 19:39, Peter Maydell wrote:
On 4 August 2014 17:45, Tom Musta wrote:
The ELF V2 ABI for PPC64 defines MINSIGSTKSZ as 4096 bytes whereas it was
2048 previously.
Alpha and SPARC also have a 4096 byte MINSIGSTKSZ...
Signed-off-by: Tom Musta
diff --git a/linux-user/signal.c b/linu
On 08/12/2014 12:36 PM, Eric Blake wrote:
On 08/12/2014 08:35 AM, Daniel Henrique Barboza wrote:
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on the remote server configuration and network
traffic. The user should be able to set how much long he is
willing to wa
On Tue, Aug 12, 2014 at 11:30 AM, Eric Blake wrote:
> On 08/12/2014 08:14 AM, 吴兴博 wrote:
> >>> However FVD seems to have been ignored by community.
> >>
> >> Care to give a pointer to a URL describing the FVD format?
> >>
> >> http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg00398.html
Signed-off-by: Kevin Wolf
---
hw/ide/core.c| 4 +++-
tests/ide-test.c | 14 ++
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/hw/ide/core.c b/hw/ide/core.c
index db191a6..180ded8 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -838,7 +838,9 @@ static void ide_fl
On 08/12/2014 09:59 AM, bharat.bhus...@freescale.com wrote:
>
>
>> -Original Message-
>> From: Alexander Graf [mailto:ag...@suse.de]
>> Sent: Monday, August 11, 2014 3:06 PM
>> To: Eric Auger; eric.au...@st.com; christoffer.d...@linaro.org; qemu-
>> de...@nongnu.org; Phillips Kim-R1AAHA;
On 08/08/2014 10:48 AM, Artyom Tarasenko wrote:
> Implement Short Floating-Point Store Instructions as described
> in the chapter 13.5.2 of UltraSPARC-IIi User's Manual.
>
> Particularly this instructions are used by NetBSD 4.0.1+ /sparc64
>
> Signed-off-by: Artyom Tarasenko
> ---
>
> With this
On Tue, Aug 12, 2014 at 08:07:55AM -0600, Eric Blake wrote:
> On 08/12/2014 07:45 AM, 吴兴博 wrote:
>
> [please don't top-post on technical lists]
>
> > Thanks for your information. It's really helpful.
> > I think adding a bitmap alongside the raw file ( or just within that file)
>
> Umm, how do y
Currently, if the block device backing the IDE drive is resized,
the information about the device as cached inside of the IDEState
structure is not updated, thus when a guest OS re-queries the drive,
it is unable to see the expanded size.
This patch adds a resize callback to correct this, and mark
On Mon, Aug 11, 2014 at 07:38:50PM -0400, 吴兴博 wrote:
> Hello,
>
> The introduction in the wiki page present several advantages of qcow2
> [1]. But I'm a little confused. I really appreciate if any one can give me
> some help on this :).
>
> (1) Currently the raw format doesn't support COW. In
On Tue, Aug 12, 2014 at 07:46:30PM +0100, Daniel P. Berrange wrote:
> Taking the compression feature - arguably the biggest benefit of that
> is when you distribute disk images. eg if someone provides a root disk
> image on a web server, using compression in qcow2 can dramatically
> lower the downl
This series of patches is the result of executing the Linux Test Program
(LTP) System Call bucket (https://github.com/linux-test-project/ltp)
on the 64 bit big and little endian linux user mode targets for Power.
Some of the changes are not technically unique to Power, but are effectively
so. For
The semun union used in the semctl system call contains both an int (val) and
pointers. In cross-endian situations on 64 bit targets, the value passed to
semctl is an 8 byte (abi_long) value and thus does not have the 4-byte val
field in the correct location. In order to rectify this, the other h
The mq_open system call takes an optional struct mq_attr pointer
argument in the fourth position. This pointer is used when O_CREAT
is specified in the flags (second) argument. It may be NULL, in
which case the queue is created with implementation defined attributes.
Change the code to properly
The 64 bit PowerPC platforms eliminate the _unused1 and _unused2
elements of the semid_ds structure from . So eliminate
these from the target_semid_ds structure.
Signed-off-by: Tom Musta
---
linux-user/syscall.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/linux-
The sched_getparam, sched_setparam and sched_setscheduler system
calls take a pointer argument to a sched_param structure. When
this pointer is null, errno should be set to EINVAL.
Signed-off-by: Tom Musta
---
V2: Including sched_setscheduler in the changes per Peter Maydell's
review.
linux-us
The msgsnd system call takes an argument that describes the message
size (msgsz) and is of type size_t. The system call should set
errno to EINVAL in the event that a negative message size is passed.
Signed-off-by: Tom Musta
Reviewed-by: Peter Maydell
---
linux-user/syscall.c |6 +-
1
The clock_nanosleep syscall is unusual in that it returns positive
numbers in error handling situations, versus returning -1 and setting
errno, or returning a negative errno value. On POWER, the kernel will
set the SO bit of CR0 to indicate failure in a syscall. QEMU has
generic handling to do th
When the ipc system call is used to wrap a semctl system call,
the ptr argument to ipc needs to be dereferenced prior to passing
it to the semctl handler. This is because the fourth argument to
semctl is a union and not a pointer to a union.
Signed-off-by: Tom Musta
---
V2: This is unchanged f
The ELF V2 ABI for PPC64 defines MINSIGSTKSZ as 4096 bytes whereas it was
2048 previously.
Signed-off-by: Tom Musta
---
V2: Define and use TARGET_MINSIGSTKSZ constants from the various
linux-user/$ARCH/syscall.h files (per Peter Maydell's review).
There is still a runtime check for PPC64 since t
For those target ABIs that use the ipc system call (e.g. POWER),
the third argument is used in the shmat path as a pointer. It
therefore must be declared as an abi_long (versus int) so that
the address bits are not lost in truncation. In fact, all arguments
to do_ipc should be declared as abit_lo
Properly detect a fault when attempting to store into an invalid
struct timespec pointer.
Signed-off-by: Tom Musta
Reviewed-by: Peter Maydell
---
V2: Peter has observed that there are other call sites that may need to
be fixed. I will address that in future patch(es).
linux-user/syscall.c |
On Wed, Jun 04, 2014 at 03:17:56AM -0400, Jidong Xiao wrote:
> On Wed, Jun 4, 2014 at 3:09 AM, Paolo Bonzini wrote:
> > Il 04/06/2014 03:10, Jidong Xiao ha scritto:
> >
> >> diff --git a/qemu-2.0.0/target-i386/kvm.c.orig
> >> b/qemu-2.0.0/target-i386/kvm.c
> >> index 4389959..b8b282d 100644
> >> -
Although not technically not required by POSIX, the writev system call will
typically write out its buffers individually. That is, if the first buffer
is written successfully, but the second buffer pointer is invalid, then
the first chuck will be written and its size is returned.
Signed-off-by: T
The argument to the mlockall system call is not necessarily the same on
all platforms and thus may require translation prior to passing to the
host.
For example, PowerPC 64 bit platforms define values for MCL_CURRENT
(0x2000) and MCL_FUTURE (0x4000) which are different from Intel platforms
(0x1 an
Il 12/08/2014 10:12, Ming Lei ha scritto:
>> > The below patch is basically the minimal change to bypass coroutines. Of
>> > course
>> > the block.c part is not acceptable as is (the change to
>> > refresh_total_sectors
>> > is broken, the others are just ugly), but it is a start. Please run it
Il 12/08/2014 20:55, Eduardo Habkost ha scritto:
> This makes the CPUID data change under the guest's feet during
> live-migration.
>
> Adding compat code to ensure older machine-types keep the old behavior
> is necessary, but in this specific case it is mostly harmless because
> 0x0 is documented
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on the remote server configuration and network
traffic. The user should be able to set how much long he is
willing to wait for the connection.
Adding a new option to set this timeout gives the user this
flexibility. The
101 - 200 of 236 matches
Mail list logo