On 06/02/15 20:37, Denis V. Lunev wrote:
The following sequence
int fd = open(argv[1], O_RDWR | O_CREAT | O_DIRECT, 0644);
for (i = 0; i < 10; i++)
write(fd, buf, 4096);
iperforms 5% better if buf is aligned to 4096 bytes rather then to
512 bytes.
I have used the follo
On 06/02/15 20:59, Denis V. Lunev wrote:
This was a part of patchset implemented guest-exec command.
It was suggested to submit it separately by Michael.
The set contains small refactoring to fix mingw 4.9.1 compilation
and safe part of the rework of posix file interface plus main
Windows file c
Am 12.02.2015 um 17:42 hat Christian Borntraeger geschrieben:
> Am 12.02.2015 um 16:46 schrieb Stefan Hajnoczi:
> > On Mon, Jan 19, 2015 at 03:34:56PM +0100, Ekaterina Tumanova wrote:
> >> Updates v5 -> v6:
> >>
> >> Minor Updates according the last review from Stefan Hajnoczi:
> >> 1. Do not chang
Hi,
> We're going to need to automatically create and update
> the menu entries based on which consoles get created
> if we want this to work properly, I think. Gerd, any
> suggestions? Is there a hook for "list of active
> consoles has changed"?
No. consoles are not hotpluggable.
> What's t
> On 13 Feb 2015, at 08:24, Peter Maydell wrote:
>
> On 13 February 2015 at 07:16, Mark Burton wrote:
>> If the kernel is doing this - then effectively - for X86, each CPU only
>> flush’s it’s own TLB (from the perspective of Qemu) - correct?
>> (in which case, for Qemu itself - for x86) - we d
On 13 February 2015 at 07:16, Mark Burton wrote:
> If the kernel is doing this - then effectively - for X86, each CPU only
> flush’s it’s own TLB (from the perspective of Qemu) - correct?
> (in which case, for Qemu itself - for x86) - we dont need to implement
> a global flush, and hence we dont n
Up top - thanks Peter, I think you may give us an idea !
> On 12 Feb 2015, at 23:10, Lluís Vilanova wrote:
>
> Mark Burton writes:
>
>>> On 12 Feb 2015, at 16:38, Alexander Graf wrote:
>>>
>>>
>>>
>>> On 12.02.15 15:58, Peter Maydell wrote:
On 12 February 2015 at 14:45, Alexander Graf
On Fri, 02/13 13:09, Wen Congyang wrote:
> What is image fleecing?
>
It's the name of the feature which enables the built-in NBD server to exporting
a thin point-in-time snapshot created via drive-backup sync=none.
It's for host side data scanning tool to access a disk snapshot of running VM.
Th
On 2/13/15 13:43, Peter Maydell wrote:
> On 13 February 2015 at 05:44, Chen Gang S wrote:
>> Which issue of correctness will occur? I can not enum it.
>
> If the Linux kernel does not implement these syscalls then
> QEMU must not either. Attempting them should fail, same as
> if you attempted the
On Thu, Feb 12, 2015 at 6:52 PM, Markus Armbruster
wrote:
When I can't guess a handler's name, I have to look it up in
hmp-commands.hx. Happens often enough to annoy me. Let's make them
more predictable.
Touches several subsystems because HMP command handlers are still
spread far and wide,
On 02/06/2015 06:02 AM, Peter Maydell wrote:
> The documentation for sextract64() claims that the return type is
> an int64_t, but the code itself disagrees. Fix the return type to
> conform to the documentation and to bring it into line with
> sextract32(), which returns int32_t.
>
> Signed-off-b
Hi,
I have some question on using QOM, new to QEMU and will be great if i can put
some answers for below question.
1) If QEMU is considered to be OOP, How is the relation between a Class and
Object. I see in c++ we do not create a classobject there will be a object of a
class. But here i see bot
From: Greg Bellows
Add AArch32 to AArch64 register sychronization functions.
Replace manual register synchronization with new functions in
aarch64_cpu_do_interrupt() and HELPER(exception_return)().
Signed-off-by: Greg Bellows
Reviewed-by: Peter Maydell
Message-id: 1423736974-14254-4-git-send-e
From: Alexander Graf
With simple exposure of MMFG, ioport window, mmio window and an IRQ line we
can successfully create a workable PCIe host bridge that can be mapped anywhere
and only needs to get described to the OS using whatever means it likes.
This patch implements such a "generic" host br
From: Greg Bellows
Added machvirt parsing of feature keywords added to the -cpu command line
option. Parsing occurs during machine initialization.
Signed-off-by: Greg Bellows
Reviewed-by: Peter Maydell
Message-id: 1423736974-14254-3-git-send-email-greg.bell...@linaro.org
Signed-off-by: Peter
Avoid shifting potentially negative signed offset values in
disas_ldst_pair() by keeping the offset in a uint64_t rather
than an int64_t.
Signed-off-by: Peter Maydell
Message-id: 1423233250-15853-5-git-send-email-peter.mayd...@linaro.org
---
target-arm/translate-a64.c | 2 +-
1 file changed, 1 i
From: Alexander Graf
We are going to introduce a PCIe host controller that doesn't exist that
way in real hardware, but still needs to expose some PCIe root device which
has PCI IDs.
Allocate a PCI ID in the Red Hat space that we use for other devices of this
kind.
Signed-off-by: Alexander Graf
From: Alexander Graf
Now that we have a working "generic" PCIe host bridge driver, we can plug
it into ARM's virt machine to always have PCIe available to normal ARM VMs.
I've successfully managed to expose a Bochs VGA device, XHCI and an e1000
into an AArch64 VM with this and they all lived hap
From: Greg Bellows
Add 32-bit to/from 64-bit register synchronization on register gets and puts.
Set EL1_32BIT feature flag passed to KVM
Signed-off-by: Greg Bellows
Message-id: 1423736974-14254-5-git-send-email-greg.bell...@linaro.org
Signed-off-by: Peter Maydell
---
target-arm/kvm64.c | 36
From: Alexander Graf
Every platform that supports PCI can also spawn the Bochs VGA PCI adapter. Move
it to pci.mak to enable it for everyone.
Signed-off-by: Alexander Graf
Signed-off-by: Peter Maydell
---
default-configs/alpha-softmmu.mak| 2 --
default-configs/i386-softmmu.mak | 2 --
From: Greg Bellows
Adds registration and get/set functions for enabling/disabling the AArch64
execution state on AArch64 CPUs. By default AArch64 execution state is enabled
on AArch64 CPUs, setting the property to off, will disable the execution state.
The below QEMU invocation would have AArch6
Shifting a negative integer left is undefined behaviour in C.
Avoid it by assembling and shifting the offset fields as
unsigned values and then sign extending as the final action.
Signed-off-by: Peter Maydell
Message-id: 1423233250-15853-4-git-send-email-peter.mayd...@linaro.org
---
target-arm/t
The code in logic_imm_decode_wmask attempts to rotate a mask
value within the bottom 'e' bits of the value with
mask = (mask >> r) | (mask << (e - r));
This has two issues:
* if the element size is 64 then a rotate by zero results
in a shift left by 64, which is undefined behaviour
* if th
Fix attempts to shift into the sign bit of an int, which is undefined
behaviour in C and warned about by the clang sanitizer.
Signed-off-by: Peter Maydell
Message-id: 1423233250-15853-2-git-send-email-peter.mayd...@linaro.org
---
target-arm/translate-a64.c | 6 +++---
1 file changed, 3 insertion
The following changes since commit 449008f86418583a1f0fb946cf91ee7b4797317d:
Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20150210.0'
into staging (2015-02-11 05:14:41 +)
are available in the git repository at:
git://git.linaro.org/people/pmaydell/qemu-arm.git
tags/
We no longer need INDEX_op_end to terminate the list, nor do we
need 5 forms of nop, since we just remove the TCGOp instead.
Reviewed-by: Bastian Koppelmann
Signed-off-by: Richard Henderson
---
tcg/tcg-opc.h | 9 -
tcg/tcg.c | 7 ++-
tci.c | 13 -
3 files c
iam/tags/vfio-update-20150210.0'
into staging (2015-02-11 05:14:41 +)
are available in the git repository at:
git://github.com/rth7680/qemu.git tags/pull-tcg-20150212
for you to fetch changes up to 15fc7daa770764cc795158cbb525569f156f3659:
tcg: Remove unused opcodes (
Almost completely eliminates the ifdefs in this file, improving
confidence in the lesser used 32-bit builds.
Reviewed-by: Bastian Koppelmann
Signed-off-by: Richard Henderson
---
tcg/tcg-op.c | 449 +++
1 file changed, 207 insertions(+), 24
Rather reserving space in the op stream for optimization,
let the optimizer add ops as necessary.
Reviewed-by: Bastian Koppelmann
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 57 +++--
tcg/tcg-op.c | 21 -
tcg/tc
With the linked list scheme we need not leave nops in the stream
that we need to process later.
Reviewed-by: Bastian Koppelmann
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 14 +++---
tcg/tcg.c | 28
tcg/tcg.h | 1 +
3 files changed, 32 i
Reviewed-by: Bastian Koppelmann
Signed-off-by: Richard Henderson
---
include/exec/gen-icount.h | 2 ++
target-alpha/translate.c | 2 +-
target-arm/translate-a64.c| 1 -
target-arm/translate.c| 1 -
target-cris/translate.c | 2 +-
target-i386/translate.c | 2 +-
t
The previous setup required ops and args to be completely sequential,
and was error prone when it came to both iteration and optimization.
Reviewed-by: Bastian Koppelmann
Signed-off-by: Richard Henderson
---
include/exec/gen-icount.h | 22 ++-
tcg/optimize.c| 286 ++
The method by which we count the number of ops emitted
is going to change. Abstract that away into some inlines.
Reviewed-by: Bastian Koppelmann
Signed-off-by: Richard Henderson
---
target-alpha/translate.c | 14 +++---
target-arm/translate-a64.c| 9 +++--
target-arm/tran
Hi,
I have some question on using QOM, new to QEMU and will be great if i can put
some answers for below question.
1) If QEMU is considered to be OOP, How is the relation between a Class and
Object. I see in c++ we do not create a classobject there will be a object of a
class. But here i see bot
On 13 February 2015 at 05:44, Chen Gang S wrote:
> Which issue of correctness will occur? I can not enum it.
If the Linux kernel does not implement these syscalls then
QEMU must not either. Attempting them should fail, same as
if you attempted them with the real kernel.
> - linux-user already b
On 2/13/15 12:56, Peter Maydell wrote:
> On 13 February 2015 at 04:43, Chen Gang S wrote:
>> Originally, I have tried to remove TARGET_NR_open and others, they can
>> not pass building, and I also noticed about NR_openat. But at last, I
>> still remain TARGET_NR_open and others (with related comme
On 02/12/2015 06:26 PM, f...@redhat.com wrote:
> On Thu, 02/12 18:11, Wen Congyang wrote:
>> On 02/12/2015 05:44 PM, Fam Zheng wrote:
>>> On Thu, 02/12 17:33, Wen Congyang wrote:
On 02/12/2015 04:44 PM, Fam Zheng wrote:
> On Thu, 02/12 15:40, Wen Congyang wrote:
>> On 02/12/2015 03:21
On 13 February 2015 at 04:43, Chen Gang S wrote:
> Originally, I have tried to remove TARGET_NR_open and others, they can
> not pass building, and I also noticed about NR_openat. But at last, I
> still remain TARGET_NR_open and others (with related comments):
>
> - Another platforms (e.g. microbl
On 2/13/15 06:31, Chris Metcalf wrote:
> On 2/11/2015 10:32 PM, Chen Gang S wrote:
>> And excuse me, my English is not quite well, I don't quite understand:
>>
>>"fixing anything that breaks as a result".
>>
>> Could you provide more details? Thanks.
>
> So if you undefine TARGET_NR_open, etc,
(2015/02/13 11:01), Liu Yuan wrote:
On Fri, Feb 13, 2015 at 10:33:04AM +0900, Teruaki Ishizaki wrote:
(2015/02/12 11:55), Liu Yuan wrote:
On Thu, Feb 12, 2015 at 11:33:16AM +0900, Teruaki Ishizaki wrote:
(2015/02/12 11:19), Liu Yuan wrote:
On Thu, Feb 12, 2015 at 10:51:25AM +0900, Teruaki Ish
the device is now used in platform for forwarded IRQ setup
Signed-off-by: Eric Auger
---
hw/vfio/common.c | 3 ++-
include/hw/vfio/vfio-common.h | 5 +
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/hw/vfio/common.c b/hw/vfio/common.c
index c5d1551..be72ad6 100644
Integrate updated KVM-VFIO API related to forwarded IRQ
Update according to header found in
http://git.linaro.org/people/eric.auger/linux.git
branch irqfd_integ_v9
Signed-off-by: Eric Auger
---
v8 -> v9: use new kvm_vfio_dev_irq struct
---
linux-headers/linux/kvm.h | 23 --
Tests whether the forwarded IRQ modality is available.
In the positive device IRQs are forwarded. This control is
achieved with KVM-VFIO device. with such a modality injection
still is handled through irqfds. However end of interrupt is
not trapped anymore. As soon as the guest completes its virtua
This series adds IRQ forwarding support in the VFIO platform device.
The VFIO platform device uses the KVM-VFIO device to enable IRQ forwarding.
Dependency List:
- KVM platform device passthrough PATCH v10 and all its dependencies
+ following kernel dependencies:
- [RFC PATCH 0/9] ARM: Forwardi
On Thu, Feb 12, 2015 at 02:49:50PM +0100, Markus Armbruster wrote:
> If do_sd_create() fails, it first reports the error returned, then
> reports a another one with strerror(errno). errno is meaningless at
> that point.
>
> Report just one error combining the valid information from both
> message
On 02/13/2015 04:42 AM, Peter Maydell wrote:
> On 13 February 2015 at 03:37, Eric Auger wrote:
>> Add a new group/attribute in VGIC KVM device enabling to force
>> vgic init: KVM_DEV_ARM_VGIC_GRP_CTRL/KVM_DEV_ARM_VGIC_CTRL_INIT
>>
>> Update according to 3.19 headers.
>
> Is this really a full hea
On 2/13/15 06:32, Chris Metcalf wrote:
> On 2/11/2015 10:48 PM, Chen Gang S wrote:
>> On 2/12/15 11:32, Chen Gang S wrote:
>>> >>> >> +#define EM_TILE 191 /* Tile */
>>> >>> >>+#define EM_TILE_OLD 0x2597 /* Tile compat */
> >> >
> >> >No need for EM_TILE_OLD - it never reall
On Fri, Feb 13, 2015 at 11:45:42AM +0800, Liu Yuan wrote:
> From: Liu Yuan
>
> These functions mix up -1 and -errno in return values and would might cause
> trouble error handling in the call chain.
>
> This patch let them return -errno and add some comments.
>
> Reported-by: Markus Armbruster
vfio-calxeda-xgmac now can be instantiated using the -device option.
The node creation function generates a very basic dt node composed
of the compat, reg and interrupts properties
Signed-off-by: Eric Auger
---
v8 -> v9:
- properly free resources in case of errors in
add_calxeda_midway_xgmac_f
This patch aims at optimizing IRQ handling using irqfd framework.
Instead of handling the eventfds on user-side they are handled on
kernel side using
- the KVM irqfd framework,
- the VFIO driver virqfd framework.
the virtual IRQ completion is trapped at interrupt controller
This removes the need
Add a reset notify function that enables to start the propagation of
interrupts to the guest.
Signed-off-by: Eric Auger
---
v8 -> v9:
- handle failure in vfio_irq_starter
---
hw/vfio/platform.c | 52 +
include/hw/vfio/vfio-platform.h | 8 ++
The platform device class has become abstract. This patch introduces
a calxeda xgmac device that can be be instantiated on command line
using such option.
-device vfio-calxeda-xgmac,host="fff51000.ethernet"
Signed-off-by: Eric Auger
---
v8 -> v9:
- renamed calxeda_xgmac.c into calxeda-xgmac.c
This patch adds the code requested to assign interrupts to
a guest. The interrupts are mediated through user handled
eventfds only.
The mechanics to start the IRQ handling is not yet there through.
Signed-off-by: Eric Auger
---
v8 -> v9:
- free irq related resources in case of error in vfio_po
Minimal VFIO platform implementation supporting register space
user mapping but not IRQ assignment.
Signed-off-by: Kim Phillips
Signed-off-by: Eric Auger
---
v9 -> v10:
- vfio_populate_device no more called in common vfio_get_device
but in vfio_base_device_init
v8 -> v9:
- irq management is
Update according to vfio.h header found in
http://git.linaro.org/people/eric.auger/linux.git
branch irqfd_integ_v9
Signed-off-by: Eric Auger
---
v9 -> v10:
- AMBA removed
v8 -> v9:
- rewording of the commit message
---
linux-headers/linux/vfio.h | 31 ++-
1 file ch
This series aims at enabling KVM platform device passthrough.
It implements a VFIO platform device, derived from VFIO PCI device.
The VFIO platform device uses the host VFIO platform driver which must
be bound to the assigned device prior to the QEMU system start.
- the guest can directly access
From: Liu Yuan
These functions mix up -1 and -errno in return values and would might cause
trouble error handling in the call chain.
This patch let them return -errno and add some comments.
Reported-by: Markus Armbruster
Signed-off-by: Liu Yuan
---
block/sheepdog.c | 11 +++
1 file c
On 13 February 2015 at 03:37, Eric Auger wrote:
> Add a new group/attribute in VGIC KVM device enabling to force
> vgic init: KVM_DEV_ARM_VGIC_GRP_CTRL/KVM_DEV_ARM_VGIC_CTRL_INIT
>
> Update according to 3.19 headers.
Is this really a full header sync? I'd have expected it to
have non-ARM changes
With current implementation the vgic is initialized implicitly,
on-demand. This patch forces the init in the vgic finalize function.
At that point all the dimensioning parameters are known.
A new group/attribute in VGIC KVM device is used for that:
KVM_DEV_ARM_VGIC_GRP_CTRL/KVM_DEV_ARM_VGIC_CTRL_I
This patch forces vgic initialization in the vgic realize function.
It uses a new group/attribute that allows such operation.
This earlier initialization allows, for example, to setup VFIO
signaling and irqfd after vgic initialization, on a reset notifier.
Signed-off-by: Eric Auger
---
hw/intc/
Add a new group/attribute in VGIC KVM device enabling to force
vgic init: KVM_DEV_ARM_VGIC_GRP_CTRL/KVM_DEV_ARM_VGIC_CTRL_INIT
Update according to 3.19 headers.
Signed-off-by: Eric Auger
---
linux-headers/asm-arm/kvm.h | 5 +
linux-headers/asm-arm64/kvm.h | 5 +
2 files changed, 10 in
On 02/12/2015 03:43 PM, Paolo Bonzini wrote:
>
>
> On 12/02/2015 20:32, Matthew Rosato wrote:
>> Could it be that the order in which flatview_unref (and therefore
>> memory_region_unref) vs object_unparent(mr) matters (ie, object_unparent
>> should always happen last)? Prior to RCUification, see
On Fri, Feb 6, 2015 at 8:34 AM, Peter Maydell
wrote:
> Fix attempts to shift into the sign bit of an int, which is undefined
> behaviour in C and warned about by the clang sanitizer.
>
> Signed-off-by: Peter Maydell
> ---
> target-arm/translate-a64.c | 6 +++---
> 1 file changed, 3 insertions(+
On Thu, 02/12 16:50, Stefan Hajnoczi wrote:
> On Fri, Jan 30, 2015 at 10:49:41AM +0800, Fam Zheng wrote:
> > v7: Remove any "{iops,bps}_max" in 093 completely. (Max)
> >
> > v6: Less resource demanding patch 5. (Max)
> > Add rev-by of Max to other patches.
> >
> > v5: Rebase and improve the t
On 2015/2/12 18:21, Markus Armbruster wrote:
> writes:
>
>> From: Dinar Valeev
>>
>> on sPAPR we need to update boot_order in MachineState in case it
>> got changed on reset.
>>
>> Signed-off-by: Dinar Valeev
>> Reviewed-by: Alexey Kardashevskiy
>> Signed-off-by: Gonglei
>> ---
>> bootdevice
> (Li special edition)
>
> Current migration code returns number of bytes transferred and from there
> we decide if we.have sent something or not. Problem, we need two results:
> number of pages written, and number of bytes written (depending on
> compression, zero pages, etc, it is not possible
On 2015/2/12 18:19, Markus Armbruster wrote:
> writes:
>
>> From: Gonglei
>>
>> Either 'once' option or 'order' option can take effect for -boot at
>> the same time, that is say initial startup processing can check only
>> one. And pc.c's set_boot_dev() fails when its boot order argument
>> is i
On 2015/2/12 18:19, Markus Armbruster wrote:
> writes:
>
>> From: Gonglei
>>
>> The reset logic can be done by both machine reset and
>> boot handler. So we shouldn't return error when the boot
>> handler callback don't be set.
>>
>> Signed-off-by: Gonglei
>> Reviewed-by: Alexander Graf
>> ---
Excuse me, I have to foward this mail, for the original mail failed to
send to qemu-devel mailing list (so try again).
Thanks.
Forwarded Message
Subject: [PATCH 2/5] linux-user: tile: Firstly add architecture related features
Date: Fri, 13 Feb 2015 05:16:52 +0800
From: Chen Gan
On Fri, Feb 13, 2015 at 10:33:04AM +0900, Teruaki Ishizaki wrote:
> (2015/02/12 11:55), Liu Yuan wrote:
> >On Thu, Feb 12, 2015 at 11:33:16AM +0900, Teruaki Ishizaki wrote:
> >>(2015/02/12 11:19), Liu Yuan wrote:
> >>>On Thu, Feb 12, 2015 at 10:51:25AM +0900, Teruaki Ishizaki wrote:
> (2015/02/
(2015/02/12 11:55), Liu Yuan wrote:
On Thu, Feb 12, 2015 at 11:33:16AM +0900, Teruaki Ishizaki wrote:
(2015/02/12 11:19), Liu Yuan wrote:
On Thu, Feb 12, 2015 at 10:51:25AM +0900, Teruaki Ishizaki wrote:
(2015/02/10 20:12), Liu Yuan wrote:
On Tue, Jan 27, 2015 at 05:35:27PM +0900, Teruaki Ish
On Thu, 02/12 15:29, Paolo Bonzini wrote:
>
>
> On 12/02/2015 06:21, Fam Zheng wrote:
> > Before processing a request, virtio-scsi dataplane will check if the
> > backend runs on the same context with it. If not, it has to be moved,
> > with bdrv_set_aio_context.
> >
> > However this function is
Ian,
Just ping this, or do you think I should send this as a patch?
Thanks
Tiejun
On 2015/2/11 10:45, Chen, Tiejun wrote:
On 2015/2/9 19:05, Ian Campbell wrote:
On Mon, 2015-02-09 at 14:28 +0800, Chen, Tiejun wrote:
What about this?
I've not read the code in detail,since I'm travelling bu
On 13 February 2015 at 01:12, Alexander Graf wrote:
>
>
> On 12.02.15 19:50, Laszlo Ersek wrote:
>> According to "PCI Bus Binding to IEEE Std 1275-1994", 3.1.2. Bus-specific
>> Properties for Bus Nodes, the second integer in "bus-range" is an
>> inclusive limit.
>>
>> This seems to be consistent w
On 12.02.15 19:50, Laszlo Ersek wrote:
> According to "PCI Bus Binding to IEEE Std 1275-1994", 3.1.2. Bus-specific
> Properties for Bus Nodes, the second integer in "bus-range" is an
> inclusive limit.
>
> This seems to be consistent with several *.dtsi files in the kernel tree,
> where examples
On 13.02.15 01:29, Lucas Meneghel Rodrigues wrote:
> Copying Alex.
>
> OK, after bisecting, this is what I've got:
>
> 8118f0950fc77cce7873002a5021172dd6e040b5 is the first bad commit
> commit 8118f0950fc77cce7873002a5021172dd6e040b5
> Author: Alexander Graf mailto:ag...@suse.de>>
> Date: Thu
from guest 9 times
>>> 22:58:13 INFO | [qemu output] (Process terminated with status 0)
>>> 22:58:13 DEBUG| VM virt-tests-vm1 down (shell)
>>> 22:58:14 DEBUG| Host does not support OpenVSwitch: Missing command:
>>> ovs-vswitchd
>>> 22:58:14 DEBUG| Checkin
Marking as Wont-Fix.
** Changed in: nova
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1368815
Title:
qemu-img convert intermittently corrupts output images
On 2/11/2015 10:48 PM, Chen Gang S wrote:
On 2/12/15 11:32, Chen Gang S wrote:
>>> >> +#define EM_TILE 191 /* Tile */
>>> >>+#define EM_TILE_OLD 0x2597 /* Tile compat */
>> >
>> >No need for EM_TILE_OLD - it never really got out into the wild.
>> >
>> >Also, 191 is EM_TILEGX in , so you
On Thu, Feb 12, 2015 at 07:22:37PM +0100, Paolo Bonzini wrote:
> On 12/02/2015 18:50, Eduardo Habkost wrote:
> > +
> > +if (!bitmap_full(seen_cpus, max_cpus)) {
> > +char *msg;
> > +bitmap_complement(seen_cpus, seen_cpus, max_cpus);
> > +msg = enumerate_cpus(seen_cpus, m
t; 22:58:14 DEBUG| Checking image file
>>> /mnt/kvm/src/virt-test/shared/data/images/jeos-20-64.qcow2
>>> 22:58:14 DEBUG| Running '/bin/qemu-img info
>>> /mnt/kvm/src/virt-test/shared/data/images/jeos-20-64.qcow2'
>>> 22:58:14 DEBUG| Running '/bin/qemu-img check
>>> /mnt/kvm/src/virt-test/shared/data/images/jeos-20-64.qcow2'
>>> 22:58:14 ERROR| [stdout]
>>> 22:58:14 ERROR| [stdout] 1 errors were found on the image.
>>> 22:58:14 ERROR| [stdout] Data may be corrupted, or further writes to the
>>> image may corrupt it.
>>> 22:58:14 ERROR| [stdout] 13495/163840 = 8.24% allocated, 0.03%
>>> fragmented, 0.00% compressed clusters
>>> 22:58:14 ERROR| [stdout] Image end offset: 885129216
>>> 22:58:14 ERROR| [stderr] ERROR cluster 13505 refcount=1 reference=2
>>> 22:58:14 ERROR| Errors found on image:
>>> '/mnt/kvm/src/virt-test/shared/data/images/jeos-20-64.qcow2'
>>> 22:58:14 WARNI| virt-tests-vm1 is not alive. Can not query the register
>>> status
>>> 22:58:14 DEBUG| Thread quit. Used to failed to get register info from
>>> guest 20150212-225320-Mb1E4VV7 for 1 times.
>>>
>>>
>>
>>
>> --
>> Lucas
>>
>
>
>
> --
> Lucas
>
--
Lucas
rc/virt-test/shared/data/images/jeos-20-64.qcow2'
>> 22:58:14 ERROR| [stdout]
>> 22:58:14 ERROR| [stdout] 1 errors were found on the image.
>> 22:58:14 ERROR| [stdout] Data may be corrupted, or further writes to the
>> image may corrupt it.
>> 22:58:14 ERROR| [stdout] 13495/163840 = 8.24% allocated, 0.03%
>> fragmented, 0.00% compressed clusters
>> 22:58:14 ERROR| [stdout] Image end offset: 885129216
>> 22:58:14 ERROR| [stderr] ERROR cluster 13505 refcount=1 reference=2
>> 22:58:14 ERROR| Errors found on image:
>> '/mnt/kvm/src/virt-test/shared/data/images/jeos-20-64.qcow2'
>> 22:58:14 WARNI| virt-tests-vm1 is not alive. Can not query the register
>> status
>> 22:58:14 DEBUG| Thread quit. Used to failed to get register info from
>> guest 20150212-225320-Mb1E4VV7 for 1 times.
>>
>>
>
>
> --
> Lucas
>
--
Lucas
On 2/11/2015 10:32 PM, Chen Gang S wrote:
+ */
+#define TARGET_NR_io_setup 0
+#define TARGET_NR_io_destroy1
+#define TARGET_NR_io_submit 2
[...]
Isn't there a way to say "use the asm-generic syscalls"? What does ARM64 do,
for exampl
On Wed, 7 Jan 2015, Alexander Graf wrote:
> diff --git a/target-ppc/fpu_helper.c b/target-ppc/fpu_helper.c
> index 7f74466..81db60f 100644
> --- a/target-ppc/fpu_helper.c
> +++ b/target-ppc/fpu_helper.c
> @@ -920,14 +923,16 @@ uint64_t helper_fsqrt(CPUPPCState *env, uint64_t arg)
>
> farg.l
tes to the
> image may corrupt it.
> 22:58:14 ERROR| [stdout] 13495/163840 = 8.24% allocated, 0.03% fragmented,
> 0.00% compressed clusters
> 22:58:14 ERROR| [stdout] Image end offset: 885129216
> 22:58:14 ERROR| [stderr] ERROR cluster 13505 refcount=1 reference=2
> 22:58:14 ERROR| Errors found on image:
> '/mnt/kvm/src/virt-test/shared/data/images/jeos-20-64.qcow2'
> 22:58:14 WARNI| virt-tests-vm1 is not alive. Can not query the register
> status
> 22:58:14 DEBUG| Thread quit. Used to failed to get register info from
> guest 20150212-225320-Mb1E4VV7 for 1 times.
>
>
--
Lucas
atus
22:58:14 DEBUG| Thread quit. Used to failed to get register info from guest
20150212-225320-Mb1E4VV7 for 1 times.
Mark Burton writes:
>> On 12 Feb 2015, at 16:38, Alexander Graf wrote:
>>
>>
>>
>> On 12.02.15 15:58, Peter Maydell wrote:
>>> On 12 February 2015 at 14:45, Alexander Graf wrote:
almost nobody except x86 does global flushes
>>>
>>> All ARM TLB maintenance operations have both "this CPU
Add a parameter to pass the number of bytes written, and make it return
the number of pages written instead.
Signed-off-by: Juan Quintela
---
arch_init.c | 44 +---
1 file changed, 25 insertions(+), 19 deletions(-)
diff --git a/arch_init.c b/arch_init.c
i
Add a parameter to pass the number of bytes written, and make it return
the number of pages written instead.
Signed-off-by: Juan Quintela
---
arch_init.c | 57 ++---
1 file changed, 38 insertions(+), 19 deletions(-)
diff --git a/arch_init.c b/
It has always been a page header, not a block header. Once there, the
flag argument was only passed to make a bit or with it, just do the or
on the caller.
Signed-off-by: Juan Quintela
---
arch_init.c | 27 +++
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git
Add a parameter to pass the number of bytes written, and make it return
the number of pages written instead.
Signed-off-by: Juan Quintela
---
arch_init.c | 44 ++--
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/arch_init.c b/arch_init.c
i
No need to pass it through all the callers. Once there, update
last_sent_block here.
Signed-off-by: Juan Quintela
---
arch_init.c | 47 ---
1 file changed, 24 insertions(+), 23 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 834f40c..95a61e
Hi
(Li special edition)
Current migration code returns number of bytes transferred and from
there we decide if we.have sent something or not. Problem, we need
two results: number of pages written, and number of bytes written
(depending on compression, zero pages, etc, it is not possible to
deriv
On Feb 11, 2015, at 10:39 PM, Peter Maydell wrote:
> On 24 January 2015 at 01:56, Programmingkid wrote:
>> This patch adds these consoles to the View menu:
>> VGA
>> QEMU Monitor
>> Parallel
>> Serial
>>
>> Signed-off-by: John Arbuckle
>
>> +/* Displays the VGA screen */
>> +- (void)displayVG
It used to be an int, but then we can't pass directly the
bytes_transferred parameter, that would happen later in the series.
Signed-off-by: Juan Quintela
---
arch_init.c | 11 ---
include/migration/migration.h | 2 +-
include/migration/qemu-file.h | 2 +-
migration/q
On 12 February 2015 at 15:38, Alexander Graf wrote:
> On 12.02.15 15:58, Peter Maydell wrote:
>> All ARM TLB maintenance operations have both "this CPU only"
>> and "all TLBs in the Inner Shareable domain" [that's ARM-speak
>> for "every CPU core in the cluster"] variants (the latter
>> being the
On 12 February 2015 at 15:19, Alexander Graf wrote:
> On 12.02.15 16:08, Mark Burton wrote:
>> Our question is - do we need this ‘sync’ (before the flush),
>> or can we actually allow CPU’s to flush themselves asynchronously….
>
> The respective target architecture specs will tell you. And I very
Add main working flow feature and loading elf64 tilegx binary feature,
based on Linux kernel tilegx 64-bit implementation.
After this patch, qemu can successfully load elf64 tilegx binary for
linux-user, and the working flow reaches 1st instruction "__start".
Signed-off-by: Chen Gang
---
includ
Add tile architecture in "syscall_defs.h", all related features (ioctrl,
and stat) are based on Linux kernel tilegx 64-bit implementation.
Signed-off-by: Chen Gang
---
linux-user/syscall_defs.h | 34 +++---
1 file changed, 31 insertions(+), 3 deletions(-)
diff --git
They are for target features within qemu which independent from outside.
Signed-off-by: Chen Gang
---
linux-user/tile/target_cpu.h | 35 +
linux-user/tile/target_signal.h | 28 +++
linux-user/tile/target_structs.h | 48
1 - 100 of 288 matches
Mail list logo