This patch introduces the -seed command line option and the
QEMU_RAND_SEED environment variable for setting the random seed, which
is used for the AT_RANDOM ELF aux entry.
Signed-off-by: Magnus Reftel
---
linux-user/elfload.c | 1 -
linux-user/main.c| 20
2 files change
This patch introduces the -seed command line option and the
QEMU_RAND_SEED environment variable for setting the random seed, which
is used for the AT_RANDOM ELF aux entry.
This is an updated version of the patch, addressing review comments
from Eric Blake.
On 10/08/2014 05:38 PM, Andreas Färber wrote:
> Hi,
>
Hi Andreas,
> Am 08.10.2014 um 16:19 schrieb Fabien Chouteau:
>> From: Jiri Gaisler
>>
>> +
>> +#define TYPE_GRLIB_APB_PNP "grlib,apbpnp"
>
> If you move the two TYPE_* constants to grlib.h, you can reuse them.
>
Will do.
>> +#define GRL
On Wed, 10/08 11:05, Benoît Canet wrote:
> On Wed, Oct 08, 2014 at 02:53:38PM +0800, Fam Zheng wrote:
> >
> > Does this mean that after this series, all the throttle_states must be
> > contained inside its own throttle group? If so, we could embed ThrottleGroup
> > fields in ThrottleState.
> >
>
On 10/08/2014 09:43 PM, Jiri Gaisler wrote:
> On 10/08/2014 05:38 PM, Andreas Färber wrote:
>> Hi,
>>
>> Am 08.10.2014 um 16:19 schrieb Fabien Chouteau:
>>> From: Jiri Gaisler
>>>
>>> AMBA plug&play is used by kernels to probe available devices (Timers,
>>> UART, etc...). This is a static declarat
On Mi, 2014-10-08 at 19:00 +0800, Gonglei wrote:
> On 2014/10/7 16:00, Gonglei (Arei) wrote:
>
> > From: Gonglei
> >
> > Changes since v10:
> > 1. add handler for virtio-blk-pci/s390/ccw in PATCH 28.
> > 2. add especial bootidnex setter/getter functions for usb-storage
> > device in PATCH
Il 09/10/2014 04:50, Alexey Kardashevskiy ha scritto:
> When migrated using libvirt with "--copy-storage-all", at the end of
> migration there is race between NBD mirroring task trying to do flush
> and migration completion, both end up invalidating cache. Since qcow2
> driver does not handle this
Il 08/10/2014 14:11, miny...@acm.org ha scritto:
> From: Corey Minyard
>
> An error value here would be quite handy and more consistent
> with the rest of the code.
>
> Corey Minyard
> ---
> include/qemu/sockets.h | 2 +-
> migration-tcp.c| 4 ++--
> migration-unix.c | 4 ++--
The following changes since commit 1831e150606a221898bf46ffaf0453e9952cbbc4:
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
(2014-09-30 16:45:35 +0100)
are available in the git repository at:
git://github.com/bonzini/qemu.git tags/for-upstream
for you to fet
From: Corey Minyard
This way we can tell if the socket is connected or not. It also splits
the string conversions out into separate functions to make this more
convenient.
Signed-off-by: Corey Minyard
Reviewed-by: Paolo Bonzini
Signed-off-by: Paolo Bonzini
---
qemu-char.c | 110
From: Corey Minyard
Signed-off-by: Corey Minyard
Reviewed-by: Paolo Bonzini
Signed-off-by: Paolo Bonzini
---
qemu-char.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 8623c70..f9d2a02 100644
--- a/qemu-char.c
+++ b/qemu-ch
From: Corey Minyard
This keeps them from having to be passed around and makes them
available for later functions, like printing and reconnecting.
Signed-off-by: Corey Minyard
Reviewed-by: Paolo Bonzini
Signed-off-by: Paolo Bonzini
---
qemu-char.c | 65
From: Corey Minyard
Move all socket configuration to qmp_chardev_open_socket().
qemu_chr_open_socket_fd() just opens the socket. This is getting ready
for the reconnect code, which will call open_sock_fd() on a reconnect
attempt.
Signed-off-by: Corey Minyard
Reviewed-by: Paolo Bonzini
Signed-
On 2014/10/8 20:16, Igor Mammedov wrote:
On Wed, 8 Oct 2014 16:36:25 +0800
zhanghailiang wrote:
On 2014/10/8 15:28, zhanghailiang wrote:
Hi Igor,
On 2014/9/26 19:53, Igor Mammedov wrote:
On Tue, 23 Sep 2014 16:11:25 +0800
zhanghailiang wrote:
When do memory hotplug, if there is numa node
From: Corey Minyard
It seems that it might be a good idea to know what is at the remote
end of a socket for tracking down issues. So add that to the
socket filename.
Signed-off-by: Corey Minyard
Reviewed-by: Paolo Bonzini
Signed-off-by: Paolo Bonzini
---
qemu-char.c | 27 ++-
From: Corey Minyard
Adds a "reconnect" option to socket backends that gives a reconnect
timeout. This only applies to client sockets. If the other end
of a socket closes the connection, qemu will attempt to reconnect
after the given number of seconds.
Signed-off-by: Corey Minyard
Signed-off-b
On 2014/10/9 17:47, Gerd Hoffmann wrote:
> On Mi, 2014-10-08 at 19:00 +0800, Gonglei wrote:
>> On 2014/10/7 16:00, Gonglei (Arei) wrote:
>>
>>> From: Gonglei
>>>
>>> Changes since v10:
>>> 1. add handler for virtio-blk-pci/s390/ccw in PATCH 28.
>>> 2. add especial bootidnex setter/getter functi
From: Eduardo Habkost
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
---
accel.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/accel.c b/accel.c
index 0f3fcee..9241967 100644
--- a/accel.c
+++ b/accel.c
@@ -57,6 +5
From: Eduardo Habkost
As the function always return 1, it is not needed anymore.
Signed-off-by: Eduardo Habkost
Reviewed-by: Paolo Bonzini
Signed-off-by: Paolo Bonzini
---
accel.c| 1 -
arch_init.c| 5 -
include/sysemu/arch_init.h | 1 -
3 files change
From: Eduardo Habkost
As qtest_availble() returns 1 only when CONFIG_POSIX is set, keep
setting AccelClass.available to keep current behavior (this is different
from what we did for KVM and Xen).
This also allows us to make qtest_init_accel() static.
Reviewed-by: Paolo Bonzini
Signed-off-by: E
From: Corey Minyard
An error value here would be quite handy and more consistent
with the rest of the code.
Signed-off-by: Corey Minyard
[Make sure SO_ERROR value is passed to error_setg_errno. - Paolo]
Signed-off-by: Paolo Bonzini
---
include/qemu/sockets.h | 2 +-
migration-tcp.c|
From: Eduardo Habkost
Create an actual TYPE_ACCEL object when initializing a machine. This
will allow accelerator classes to implement some initialization on
instance_init, and to save state on the TYPE_ACCEL object.
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paol
From: Eduardo Habkost
Most of the machine options and machine state information is in the
MachineState object, not on the MachineClass. This will allow init
functions to use the MachineState object directly instead of
qemu_get_machine_opts() or the current_machine global.
Reviewed-by: Paolo Bonz
From: Eduardo Habkost
Today, all accelerator init functions affect some global state:
* tcg_init() calls tcg_exec_init() and affects globals such as tcg_tcx,
page size globals, and possibly others;
* kvm_init() changes the kvm_state global, cpu_interrupt_handler, and possibly
others;
* xen_in
From: Eduardo Habkost
Now that we create an accel object before calling machine_init, we can
simply use the accel object to save all KVMState data, instead of
allocationg KVMState manually.
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
---
kvm-all.c |
From: Corey Minyard
Needed to nicely print socket error reports.
Signed-off-by: Corey Minyard
Signed-off-by: Paolo Bonzini
---
include/qemu/error-report.h | 1 +
util/qemu-error.c | 23 ++-
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/include/
From: Corey Minyard
If reconnect was set, errors wouldn't always be reported.
Fix that and also only report a connect error once until a
connection has been made.
The primary purpose of this is to tell the user that a
connection failed so they can know they need to figure out
what went wrong. S
Even though hw/i386/pc.c tries to compute a valid loading address for the
initrd, close to the top of RAM, this does not take into account other
data that is malloced into that memory by SeaBIOS.
Luckily we can easily look at the memory map to find out how much memory is
used up there. This patch
From: Eduardo Habkost
Note that this has an user-visible side-effect: instead of reporting
"Xen is not supported for this target", QEMU binaries not supporting Xen
will report "xen accelerator does not exist".
As xen_available() always return 1 when CONFIG_XEN is enabled, we don't
need to set Ac
scsi_req_continue can complete the request and cause the VirtIOSCSIReq
to be freed. Fetch req->sreq just once to avoid the bug.
Reported-by: Richard Jones
Tested-by: Richard Jones
Reviewed-by: Fam Zheng
Signed-off-by: Paolo Bonzini
---
hw/scsi/virtio-scsi.c | 9 +
1 file changed, 5 i
From: Eduardo Habkost
Just to make checkpatch.pl happy when moving the code.
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
---
vl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vl.c b/vl.c
index 9d2aaaf..72436cd 100644
--- a/vl.
From: Eduardo Habkost
Note that this has an user-visible side-effect: instead of reporting
"KVM is not supported for this target", QEMU binaries not supporting KVM
will report "kvm accelerator does not exist".
As kvm_availble() always return 1 when CONFIG_KVM is enabled, we don't
need to set Acc
From: Eduardo Habkost
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
---
accel.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/accel.c b/accel.c
index 3cefd74..fc8c551 100644
--- a/accel.c
+++ b/accel.c
@@ -62,6
From: Eduardo Habkost
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
---
accel.c | 57 +
1 file changed, 33 insertions(+), 24 deletions(-)
diff --git a/accel.c b/accel.c
index fc8c551..c752fcc 100
From: Eduardo Habkost
As the accelerator classes won't be registered anymore if they are not
enabled at compile time, saying "does not exist" may be misleading, as
the accelerator may be simply disabled. Change the wording to just say
"not found".
Suggested-by: Paolo Bonzini
Signed-off-by: Edua
From: Eduardo Habkost
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
---
accel.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/accel.c b/accel.c
index 9424796..3cefd74 100644
--- a/accel.c
+++ b/accel.c
@@ -40,13 +40,15 @@ st
From: Eduardo Habkost
Instead of having a static AccelType array, register a class for each
accelerator type, and use class name lookup to find accelerator
information.
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
---
accel.c| 117 +++
From: Eduardo Habkost
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
---
Makefile.objs | 1 +
accel.c| 113 +
include/sysemu/accel.h | 32 ++
vl.c
From: Eduardo Habkost
When we move accel classes outside accel.c, the available() function
won't be necessary anymore, because the classes will be registered only
if the accelerator code is really enabled at build time.
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: P
On 9 October 2014 11:10, Paolo Bonzini wrote:
> The following changes since commit 1831e150606a221898bf46ffaf0453e9952cbbc4:
>
> Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into
> staging (2014-09-30 16:45:35 +0100)
>
> are available in the git repository at:
>
>
> git://
Il 09/10/2014 12:55, Peter Maydell ha scritto:
> (No, I don't know why the gcc for w32 complains about
> repeat identical typedefs and none of my other gcc do.)
Just an older version. It comes up at least half a month. Will send v2.
Paolo
From: Jiri Gaisler
AMBA plug&play is used by kernels to probe available devices (Timers,
UART, etc...). This is a static declaration of devices implemented in
QEMU. In the future, a more advanced version could compute those
information directly from the device tree.
Signed-off-by: Fabien Choutea
On Thu, 09 Oct 2014 11:47:12 +0200
Gerd Hoffmann wrote:
> On Mi, 2014-10-08 at 19:00 +0800, Gonglei wrote:
> > On 2014/10/7 16:00, Gonglei (Arei) wrote:
> >
> > > From: Gonglei
> > >
> > > Changes since v10:
> > > 1. add handler for virtio-blk-pci/s390/ccw in PATCH 28.
> > > 2. add especial
Am 09.10.2014 um 12:09 schrieb Gonglei:
> On 2014/10/9 17:47, Gerd Hoffmann wrote:
>
>> On Mi, 2014-10-08 at 19:00 +0800, Gonglei wrote:
>>> On 2014/10/7 16:00, Gonglei (Arei) wrote:
>>>
From: Gonglei
Changes since v10:
1. add handler for virtio-blk-pci/s390/ccw in PATCH 28.
Il 07/10/2014 10:00, arei.gong...@huawei.com ha scritto:
> From: Gonglei
>
> We must assure that the changed bootindex can take effect
> when guest is rebooted. So we introduce fw_cfg_machine_reset(),
> which change the fw_cfg file's bootindex data using the new
> global fw_boot_order list.
>
>
Il 07/10/2014 10:00, arei.gong...@huawei.com ha scritto:
> From: Gonglei
>
> when we remove bootindex form qdev.property to qom.property,
> we can use those functions set/get bootindex property for all
> correlative devices. Meanwhile set the initial value of
> bootindex to -1.
>
> Signed-off-by
Il 07/10/2014 10:00, arei.gong...@huawei.com ha scritto:
> From: Gonglei
>
> Remove bootindex form qdev property to qom, things will
> continue to work just fine, and we can use qom features
> which are not supported by qdev property.
>
> Signed-off-by: Gonglei
> Reviewed-by: Gerd Hoffmann
> -
Il 09/10/2014 11:47, Gerd Hoffmann ha scritto:
> On Mi, 2014-10-08 at 19:00 +0800, Gonglei wrote:
>> On 2014/10/7 16:00, Gonglei (Arei) wrote:
>>
>>> From: Gonglei
>>>
>>> Changes since v10:
>>> 1. add handler for virtio-blk-pci/s390/ccw in PATCH 28.
>>> 2. add especial bootidnex setter/getter f
Amit Shah writes:
> Users of virtio-serial may want to know when a port becomes writable. A
> port can stop accepting writes if the guest port is open but not being
> read from. In this case, data gets queued up in the virtqueue, and
> after the vq is full, writes to the port do not succeed.
>
Am 07.10.2014 12:58, schrieb Cornelia Huck:
> Here's what I currently have on
>
> git://github.com/cohuck/qemu s390-next
>
> A headers update, cpu state handling in qemu and migration, and a
> vhost-scsi-ccw bugfix. The gdb patch needs further discussion.
>
> I plan to send a pull request later
Hi,
I encounter a problem that after deleting snaptshot, the qcow2 image size is
very larger than that it should be displayed by ls command,
but the virtual disk size is okay via qemu-img info.
I suspect that during updating l1 table offset, other I/O job reference the
big-endian l1 table offset
The following changes since commit 1831e150606a221898bf46ffaf0453e9952cbbc4:
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
(2014-09-30 16:45:35 +0100)
are available in the git repository at:
git://github.com/bonzini/qemu.git tags/for-upstream
for you to fet
From: Eduardo Habkost
Most of the machine options and machine state information is in the
MachineState object, not on the MachineClass. This will allow init
functions to use the MachineState object directly instead of
qemu_get_machine_opts() or the current_machine global.
Reviewed-by: Paolo Bonz
Andreas, ping?
Best regards,
-Gonglei
> -Original Message-
> From: qemu-devel-bounces+arei.gonglei=hotmail@nongnu.org
> [mailto:qemu-devel-bounces+arei.gonglei=hotmail@nongnu.org] On
> Behalf Of Gonglei
> Sent: Wednesday, October 08, 2014 6:46 PM
> To: Paolo Bonzini
> Cc: Huangwei
> Subject: Re: [Qemu-devel] [PATCH v11 17/34] net: remove bootindex property
> from qdev to qom
>
> Il 07/10/2014 10:00, arei.gong...@huawei.com ha scritto:
> > From: Gonglei
> >
> > Remove bootindex form qdev property to qom, things will
> > continue to work just fine, and we can use qom feature
> Subject: Re: [Qemu-devel] [PATCH v11 00/34] modify boot order of guest, and
> take effect after rebooting
>
> On Thu, 09 Oct 2014 11:47:12 +0200
> Gerd Hoffmann wrote:
>
> > On Mi, 2014-10-08 at 19:00 +0800, Gonglei wrote:
> > > On 2014/10/7 16:00, Gonglei (Arei) wrote:
> > >
> > > > From: Gon
On (Thu) 09 Oct 2014 [13:18:16], Markus Armbruster wrote:
> Amit Shah writes:
>
> > Users of virtio-serial may want to know when a port becomes writable. A
> > port can stop accepting writes if the guest port is open but not being
> > read from. In this case, data gets queued up in the virtqueu
I had the exact same issue with a VM after upgrading the host from 12.04
to 14.04.
Thank you Todd for the workaround. It would have been more work than I
cared for to reassemble that machine (even if it was just a test
machine).
I'm not sure what the status of this bug is? Is this something that
When do memory hotplug, if there is numa node, we should add
the memory size to the corresponding node memory size.
For now, it mainly affects the result of hmp command "info numa".
Signed-off-by: zhanghailiang
---
v4:
- s/pc_dimm_stat_node_mem/numa_stat_memory_devices/ (Igor Mammedov)
- rewrit
Il 08/10/2014 20:16, Wouter Verhelst ha scritto:
> @@ -242,10 +242,13 @@ Option types
> * NBD_OPT_EXPORT_NAME (1)
>Choose the export which the client would like to use, and end option
>haggling. Data: name of the export, free-form UTF8 text (subject to
>limitations by server implementa
From: KONRAD Frederic
This removes num_irq parameter from gic_init_irqs_and_distributor as it is not
used.
Signed-off-by: KONRAD Frederic
---
hw/intc/arm_gic.c | 4 ++--
hw/intc/armv7m_nvic.c | 2 +-
hw/intc/gic_internal.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --
On 9 October 2014 13:17, Amit Shah wrote:
> On (Thu) 09 Oct 2014 [13:18:16], Markus Armbruster wrote:
>> The code should work, but whether it makes sense is hard to judge for
>> virtio noobs like me without a user of guest_writable. The conditional
>> guarding vsc->guest_writable(port) in particu
On 9 October 2014 12:40, Paolo Bonzini wrote:
> The following changes since commit 1831e150606a221898bf46ffaf0453e9952cbbc4:
>
> Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into
> staging (2014-09-30 16:45:35 +0100)
>
> are available in the git repository at:
>
>
> git://
From: David Hildenbrand
Until now, when a s390 cpu was stopped or halted, the number of running
CPUs was tracked in a global variable. This was problematic for migration,
so Jason came up with a per-cpu running state.
As it turns out, we want to track the full logical state of a target vcpu,
so w
From: David Hildenbrand
We need to synchronize registers after a reset has been performed. The
current code does that in qemu_system_reset(), load_normal_reset() and
modified_clear_reset() for all vcpus. After SIGP (INITIAL) CPU RESET,
this needs to be done for the targeted vcpu as well, so let's
From: David Hildenbrand
This patch reuses kvm_s390_reset_vcpu() to get rid of some CONFIG_KVM and
CONFIG_USER_ONLY ifdefs in cpu.c.
In order to get rid of CONFIG_USER_ONLY, kvm_s390_reset_vcpu() has to provide a
dummy implementation - the two definitions are moved to the proper section in
cpu.h.
The following changes since commit b6011bd8a57c1eda81a857d21adeb9b66e58b1b0:
Merge remote-tracking branch 'remotes/riku/tags/pull-linux-user-20141006-2'
into staging (2014-10-07 10:41:48 +0100)
are available in the git repository at:
git://github.com/cohuck/qemu.git tags/s390
From: David Hildenbrand
This patch makes sure that halting a cpu and stopping a cpu are two different
things. Stopping a cpu will also set the cpu halted - this is needed for common
infrastructure to work (note that the stop and stopped flag cannot be used for
our purpose because they are already
From: David Hildenbrand
Let QEMU propagate the cpu state to kvm. If kvm doesn't yet support it, it is
silently ignored as kvm will still handle the cpu state itself in that case.
The state is not synced back, thus kvm won't have a chance to actively modify
the cpu state. To do so, control has to
From: Thomas Huth
This patch provides the cpu save information for dumps and later life
migration and enables migration of the CPU state. The code is based on
earlier work from Christian Borntraeger and Jason Herne.
Signed-off-by: Thomas Huth
Signed-off-by: David Hildenbrand
[provide cpu_post_
The vhost-scsi-ccw backend is of type VHostSCSICcw, not VirtIOSCSICcw.
This fixes a segfault when invoking
qemu-system-s390x -device vhost-scsi-ccw,?
Reviewed-by: Thomas Huth
Tested-by: Christian Borntraeger
Signed-off-by: Cornelia Huck
---
hw/s390x/virtio-ccw.c |2 +-
1 file changed
From: Jens Freimann
Sync headers with 3.17-rc7
Acked-by: Paolo Bonzini
Signed-off-by: Jens Freimann
Signed-off-by: Cornelia Huck
---
linux-headers/asm-mips/kvm_para.h |6 +-
linux-headers/asm-powerpc/kvm.h |2 ++
linux-headers/asm-x86/kvm.h |3 +++
linux-headers/linux
The following changes since commit 1831e150606a221898bf46ffaf0453e9952cbbc4:
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
(2014-09-30 16:45:35 +0100)
are available in the git repository at:
git://github.com/bonzini/qemu.git tags/for-upstream
for you to fet
From: Eduardo Habkost
Create an actual TYPE_ACCEL object when initializing a machine. This
will allow accelerator classes to implement some initialization on
instance_init, and to save state on the TYPE_ACCEL object.
Reviewed-by: Paolo Bonzini
Signed-off-by: Eduardo Habkost
Signed-off-by: Paol
The related variables are useless, need be removed, or can not pass
microblaze building, after fix it, can build microblaze, successfully.
The related configuration:
./configure --target-list="arm-softmmu,microblazeel-softmmu" --enable-fdt
--disable-kvm
The related compiling error:
CXX
On Wed, 1 Oct 2014 18:43:44 +0200
Markus Armbruster wrote:
> Commit 1f9296b avoids "other kinds of overflow" by limiting the
> polling interval to UINT_MAX. The computations to protect are done in
> 64 bits. This is indeed safe when unsigned is 32 bits, as it commonly
> is. It isn't when unsi
This adds synchronisation of the 6 vcpu registers (only 32bits of
them) that vmport.c needs between Xen and QEMU.
This is to avoid a 2nd and 3rd exchange between QEMU and Xen to
fetch and put these 6 vcpu registers used by the code in vmport.c
and vmmouse.c
Add new array to XenIOState that allows
On Thu, 9 Oct 2014 14:13:09 +0800
zhanghailiang wrote:
> In original code, Function dump_error ignores its second parameter which
> contains
> error reason, it is better to return the error message to the caller.
>
> Here we use error_setg to return the error info to caller.
> And at the same t
SMC must UNDEF if EL3 is not implemented; similarly HVC UNDEFs
if EL2 is not implemented. Move the handling of this from
translate-a64.c into the pre_smc and pre_hvc helper functions.
This is necessary because use of these instructions for PSCI
takes precedence over this UNDEF case, and we can't te
This series adds PSCI support to ARM and AArch64 system emulation
when running in TCG mode. It's an update of the patchsent Ard
sent out earlier in September which in turn is based on work
by Rob Herring.
Changes v5->v6:
* minor rebasing
* redid the way that PSCI is plumbed into SMC/HVC handling
From: Rob Herring
Add tracking of cpu power state in order to support powering off of
cores in system emuluation. The initial state is determined by the
start-powered-off QOM property.
Signed-off-by: Rob Herring
Reviewed-by: Peter Maydell
Signed-off-by: Ard Biesheuvel
Signed-off-by: Peter May
From: Rob Herring
Now that we have PSCI emulation, enable it for the virt platform.
This simplifies the virt machine a bit now that PSCI no longer
needs to be a KVM only feature.
Signed-off-by: Rob Herring
Signed-off-by: Ard Biesheuvel
Signed-off-by: Peter Maydell
---
hw/arm/virt.c | 82
Add support for HVC and SMC instructions to the A32 and
T32 decoder. Using these for real exceptions to EL2 or EL3
is currently not supported (the do_interrupt routine does
not handle them) but we require the instruction support to
implement PSCI.
Signed-off-by: Peter Maydell
---
target-arm/inte
From: Rob Herring
Add support for handling PSCI calls in system emulation. Both version
0.1 and 0.2 of the PSCI spec are supported. Platforms can enable support
by setting the "psci-conduit" QOM property on the cpus to SMC or HVC
emulation and having a PSCI binding in their dtb.
Signed-off-by: R
From: Ard Biesheuvel
This adds some PSCI function IDs and symbolic return codes that are needed
to implement PSCI emulation in TCG mode.
Reviewed-by: Peter Maydell
Signed-off-by: Ard Biesheuvel
Signed-off-by: Peter Maydell
---
target-arm/kvm-consts.h | 40
From: Rob Herring
User mode emulation should never get interrupts and thus should not
use the system emulation exception handler function. Remove the reference,
and '#ifndef USER_MODE_ONLY' the function itself as well, so that we can add
system mode only functionality to it.
Signed-off-by: Rob H
On 9 October 2014 15:00, Chen Gang wrote:
> The related variables are useless, need be removed, or can not pass
> microblaze building, after fix it, can build microblaze, successfully.
>
> The related configuration:
>
> ./configure --target-list="arm-softmmu,microblazeel-softmmu" --enable-fdt
>
On Wed, 01 Oct 2014 10:54:44 +0200
Markus Armbruster wrote:
> Ping?
>
> Markus Armbruster writes:
>
> > This command lists PCMCIA sockets and cards. Only a few ARM boards
> > have sockets (akita, borzoi, connex, mainstone, spitz, terrier, tosa,
> > verdex, z2), the only card is the DSCM-1
Hello Peter,
are you ok with this one?
Thanks,
Claudio
On 26 September 2014 15:09, wrote:
> From: Claudio Fontana
>
> check if the first cpu is an armv8 cpu, and if so, put
> arm,armv8-timer in the compatible string list.
>
> Note that due to this check, this patch moves the creation
> of th
Am 09.10.2014 um 15:47 schrieb Luiz Capitulino:
> On Wed, 01 Oct 2014 10:54:44 +0200
> Markus Armbruster wrote:
>
>> Ping?
>>
>> Markus Armbruster writes:
>>
>>> This command lists PCMCIA sockets and cards. Only a few ARM boards
>>> have sockets (akita, borzoi, connex, mainstone, spitz, terrier
On 10/09/2014 08:00 AM, Chen Gang wrote:
That's a very long subject line. Try to keep subjects around 60
characters or so ('git shortlog -30' can give you an idea of reasonable
subjects). Also, s/varialbe/variable/ in the subject.
> The related variables are useless, need be removed, or can not
On 10/09/2014 05:17 AM, Zhang Haoyu wrote:
> Hi,
> I encounter a problem that after deleting snaptshot, the qcow2 image size is
> very larger than that it should be displayed by ls command,
> but the virtual disk size is okay via qemu-img info.
> I suspect that during updating l1 table offset, ot
On 9 October 2014 15:41, Andreas Färber wrote:
> Am 09.10.2014 um 15:47 schrieb Luiz Capitulino:
>> On Wed, 01 Oct 2014 10:54:44 +0200
>> Markus Armbruster wrote:
>>
>>> Ping?
>>>
>>> Markus Armbruster writes:
>>>
This command lists PCMCIA sockets and cards. Only a few ARM boards
have
Peter Maydell writes:
> On 9 October 2014 15:41, Andreas Färber wrote:
>> Am 09.10.2014 um 15:47 schrieb Luiz Capitulino:
>>> On Wed, 01 Oct 2014 10:54:44 +0200
>>> Markus Armbruster wrote:
>>>
Ping?
Markus Armbruster writes:
> This command lists PCMCIA sockets and card
On 10/09/2014 02:36 AM, Magnus Reftel wrote:
> This patch introduces the -seed command line option and the
> QEMU_RAND_SEED environment variable for setting the random seed, which
> is used for the AT_RANDOM ELF aux entry.
>
> Signed-off-by: Magnus Reftel
> ---
>
> +static void handle_arg_rand
I am a bit against the merge of AHB and APB initialization into
the same function. A grlib system can have any number of AHB and APB
buses, so there really should be a separate init routine per bus
as in the original patch.
Jiri.
On 10/09/2014 01:05 PM, Fabien Chouteau wrote:
> From: Jiri Gaisle
Hi guys,
qemu in opensuse latest (factory) does not have monitor. Despite
libvte-devel is installed, it is not detected by qemu. The problem is
that configure looks for vte-2.90, but we have vte-2.91 in factory. The
attached patch fixes that for factory, but it's dirty, of course.
Any better idea
On 9 October 2014 14:40, Paolo Bonzini wrote:
> The following changes since commit 1831e150606a221898bf46ffaf0453e9952cbbc4:
>
> Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into
> staging (2014-09-30 16:45:35 +0100)
>
> are available in the git repository at:
>
>
> git://
On 9 October 2014 14:37, Jiri Slaby wrote:
> Hi guys,
>
> qemu in opensuse latest (factory) does not have monitor. Despite
> libvte-devel is installed, it is not detected by qemu. The problem is
> that configure looks for vte-2.90, but we have vte-2.91 in factory. The
> attached patch fixes that f
ble in the git repository at:
>
>
> git://github.com/cohuck/qemu.git tags/s390x-20141009
>
> for you to fetch changes up to 2adf6bbb8ad7e53f602d10b2b30d22cd831f79a6:
>
> s390x/virtio-ccw: fix vhost-scsi intialization (2014-10-09 14:22:47 +0200)
>
> ---
1 - 100 of 138 matches
Mail list logo