* move xendevs qtail to xen_pvdev.c
* change xen_be_get_xendev to use a new function: xen_pv_insert_xendev
Signed-off-by: Emil Condrea
---
hw/xen/xen_backend.c | 70 +---
hw/xen/xen_pvdev.c| 75 +++
Prepare xen_be_printf to be used by both backend and frontends:
* xen_be_printf -> xen_pv_printf
Signed-off-by: Emil Condrea
---
hw/block/xen_disk.c| 52 +++---
hw/char/xen_console.c | 10 -
hw/display/xenfb.c | 42 +++
*INTRODUCTION*
The goal of virtual Trusted Platform Module (vTPM) is to provide a TPM
functionality to virtual machines (Fedora, Ubuntu, Redhat, Windows .etc).
This allows programs to interact with a TPM in a virtual machine the same
way they interact with a TPM on the physical system. Each virtual
The purpose of the new file is to store generic functions shared by frontend
and backends such as xenstore operations, xendevs.
Signed-off-by: Quan Xu
Signed-off-by: Emil Condrea
---
hw/xen/Makefile.objs | 2 +-
hw/xen/xen_backend.c | 125 +---
* xenstore_update -> xen_pvdev.c
* xenstore_update_fe -> xen_frontend.c
Signed-off-by: Emil Condrea
---
hw/xen/xen_backend.c | 43 +--
hw/xen/xen_frontend.c | 18 ++
hw/xen/xen_pvdev.c| 24
Prepare xen_be_evtchn_event to be shared with frontends:
* xen_be_evtchn_event -> xen_pv_evtchn_event
Signed-off-by: Emil Condrea
---
hw/xen/xen_backend.c | 2 +-
hw/xen/xen_pvdev.c | 2 +-
include/hw/xen/xen_pvdev.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff -
Its purpose is to store frontend related functions.
Signed-off-by: Quan Xu
Signed-off-by: Emil Condrea
---
hw/block/xen_disk.c | 1 +
hw/display/xenfb.c| 1 +
hw/net/xen_nic.c | 1 +
hw/xen/Makefile.objs | 2 +-
hw/xen/xen_backend.c | 47
make sure QEMU machine class is initialized and QEMU has registered
Xen stubdom vTPM driver when call tpm_init()
Signed-off-by: Quan Xu
Signed-off-by: Emil Condrea
Reviewed-by: Stefan Berger
---
vl.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/vl.c b/
Prepare xen_be_send_notify to be shared with frontends:
* xen_be_send_notify -> xen_pv_send_notify
Signed-off-by: Emil Condrea
---
hw/block/xen_disk.c| 4 ++--
hw/char/xen_console.c | 4 ++--
hw/display/xenfb.c | 8
hw/net/xen_nic.c | 4 ++--
hw/xen/xen_p
The name of the functions moved:
* xen_be_evtchn_event
* xen_be_unbind_evtchn
* xen_be_send_notify
Signed-off-by: Emil Condrea
---
hw/xen/xen_backend.c | 37 +
hw/xen/xen_pvdev.c | 35 +++
include/hw/xen/xen
Prepare xen_be_find_xendev to be shared with frontends:
* xen_be_find_xendev -> xen_pv_find_xendev
Signed-off-by: Emil Condrea
---
hw/display/xenfb.c | 4 ++--
hw/xen/xen_backend.c | 2 +-
hw/xen/xen_pvdev.c | 2 +-
include/hw/xen/xen_pvdev.h | 2 +-
4 files changed, 5 ins
Prepare xen_be_unbind_evtchn to be shared with frontends:
* xen_be_unbind_evtchn -> xen_pv_unbind_evtchn
Signed-off-by: Emil Condrea
---
hw/block/xen_disk.c| 2 +-
hw/char/xen_console.c | 2 +-
hw/display/xenfb.c | 2 +-
hw/net/xen_nic.c | 2 +-
hw/xen/xen_pvdev.c
Prepare xen_be_del_xendev to be shared with frontends:
* xen_be_del_xendev -> xen_pv_del_xendev
Signed-off-by: Emil Condrea
---
hw/xen/xen_backend.c | 2 +-
hw/xen/xen_pvdev.c | 2 +-
include/hw/xen/xen_pvdev.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a
xen_be_frontend_changed -> xen_fe_frontend_changed
Signed-off-by: Emil Condrea
---
hw/xen/xen_backend.c | 2 +-
hw/xen/xen_frontend.c | 4 ++--
include/hw/xen/xen_frontend.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_
Signed-off-by: Quan Xu
Signed-off-by: Emil Condrea
Reviewed-by: Eric Blake
---
Changes in v9:
* Replace `type` with `struct` as required by 895a2a80e
* Change `qpm_query_tpm_inst` as required by ce21131a0
---
configure| 14 ++
hmp.c| 2 ++
qapi-schema.json |
xen_be_check_state should not be called for frontends
Use DEVOPS_FLAG_FE flag to distinguish a frontend.
Signed-off-by: Emil Condrea
Signed-off-by: Quan Xu
---
Changes in v9:
* Removed not needed strstr from xenstore_update_be
It was left over from first patch series when domu was included in
This patch adds infrastructure for xen front drivers living in qemu,
so drivers don't need to implement common stuff on their own. It's
mostly xenbus management stuff: some functions to access XenStore,
setting up XenStore watches, callbacks on device discovery and state
changes, and handle event
This driver transfers any request/repond between TPM xenstubdoms
driver and Xen vTPM stubdom, and facilitates communications between
Xen vTPM stubdom domain and vTPM xenstubdoms driver. It is a glue for
the TPM xenstubdoms driver and Xen stubdom vTPM domain that provides
the actual TPM functionalit
Also rename it to tpm_util_is_selftest().
Signed-off-by: Quan Xu
Signed-off-by: Emil Condrea
Reviewed-by: Stefan Berger
---
hw/tpm/Makefile.objs | 2 +-
hw/tpm/tpm_passthrough.c | 13 +
hw/tpm/tpm_util.c| 11 +++
hw/tpm/tpm_util.h| 1 +
4 files changed
This Patch provides the glue for the TPM_TIS(Qemu frontend) to Xen
stubdom vTPM domain that provides the actual TPM functionality. It
sends data and TPM commends with xen_vtpm_frontend. It is similar as
another two vTPM backends:
*vTPM passthrough backend Since QEMU 1.5.
*vTPM libtpms-based bac
Public bug reported:
I am using LVM VGs on MD-raid1 for hosting my KVM volumes. On the host,
a VG looks like this:
Disk /dev/vm/vol202a: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/opti
On Fri, Jul 08, 2016 at 05:47:01PM +0200, Greg Kurz wrote:
> On Fri, 08 Jul 2016 15:12:07 +0200
> Greg Kurz wrote:
>
> > If the host has 8 threads/core and the guest is started with:
> >
> > -smp cores=1,threads=4,maxcpus=12
> >
> > It is possible to crash QEMU by doing:
> >
> > (qemu) device_
Clang insists that "cmp" is ambiguous with a memory destination,
requiring an explicit size suffix.
There was a true error in the use of .cfi_def_cfa_offset in the
epilogue, but changing to use the proper .cfi_adjust_cfa_offset
runs afoul of a clang bug wrt .cfi_restore_state. Better to
fold the
2016-07-07 14:49:38 +0100)
are available in the git repository at:
git://github.com/rth7680/qemu.git pull-rth-20160710
for you to fetch changes up to cdbd727c20ad7aac7797dc8c95e485e1a4c6901b:
build: Use $(AS) for optionrom explicitly (2016-07-10 10:0
For clang before 3.5, -fno-integrated-as does not exist,
so the workaround in 5f6f0e27fb24 fails to build.
Use clang's default assembler for linux-user/safe-syscall.S,
and explicitly change to use the system assembler for the
option roms.
Tested-by: Alex Bennée
Reviewed-by: Alex Bennée
Signed-o
This patchset is based upon some work Ben H did to fix various DBDMA issues
found whilst trying to boot MacOS 9 (effectively a minimal rework of a
WIP diff). With this patch, along with the patch for odd MSR combinations,
it becomes possible to boot MacOS 9 relibably in QEMU.
It has been part of m
Enabling DBDMA_DPRINTF unconditionally ensures that any errors in debug
statements are picked up immediately.
Signed-off-by: Mark Cave-Ayland
Acked-by: Benjamin Herrenschmidt
---
hw/misc/macio/mac_dbdma.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/hw/m
The current DBDMA command is stored in little-endian format, so make sure
we convert it to match our CPU when updating the DBDMA_CMDPTR_LO register.
Signed-off-by: Mark Cave-Ayland
Acked-by: Benjamin Herrenschmidt
---
hw/misc/macio/mac_dbdma.c |2 +-
1 file changed, 1 insertion(+), 1 deleti
Otherwise MacOS 9 hangs upon shutdown.
Signed-off-by: Mark Cave-Ayland
Acked-by: Benjamin Herrenschmidt
---
hw/misc/macio/mac_dbdma.c |1 +
1 file changed, 1 insertion(+)
diff --git a/hw/misc/macio/mac_dbdma.c b/hw/misc/macio/mac_dbdma.c
index cb740c1..335a5e4 100644
--- a/hw/misc/macio/ma
By default large amounts of DBDMA debugging are produced when often it is just
1 or 2 channels that are of interest. Introduce DEBUG_DBDMA_CHANMASK to allow
the developer to select the channels of interest at compile time, and then
further add the extra channel information to each debug statement w
This fixes MacOS 9 whereby it continually flushes and polls the status bits
until they are set to indicate a successful flush.
Signed-off-by: Mark Cave-Ayland
Acked-by: Benjamin Herrenschmidt
---
hw/misc/macio/mac_dbdma.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/hw/misc
The values to read/write to/from physical memory are copied directly to the
physical address with no endian swapping required.
Also add some extra information to debugging output while we are here.
Signed-off-by: Mark Cave-Ayland
Acked-by: Benjamin Herrenschmidt
---
hw/misc/macio/mac_dbdma.c |
On 8 July 2016 at 04:42, David Gibson wrote:
> My only concern here is that the constants are named
> *MMU*_DATA_... whereas these are physical memory accesses not
> involving the MMU. I can't actually see any current users of
> MMUAccessType which makes me a bit confused as to what it's intended
Hi
On 06/07/2016 11:46, Eric Auger wrote:
> Machine.c contains code related to migration. Let's move
> gicv3_class_name to kvm_arm.h instead.
>
> Signed-off-by: Eric Auger
> Suggested-by: Peter Maydell
>
> ---
>
> v4: creation
> ---
> target-arm/kvm_arm.h | 16 +++-
> target-arm/m
Hi,
Is someone interested in making gdb work when debugging qemu using -s -S?
Currently qemu just quits, see below.
Thanks!
Alon
On 5 July 2016 at 22:50, Alon Bar-Lev wrote:
> Hello,
>
> I am aware that this was discussed many times, however, problem remains.
>
> Use case loading u-boot.
>
> 1. R
On 07/09/2016 07:42 PM, G 3 wrote:
>> On 07/09/2016 02:43 AM, Mark Cave-Ayland wrote:
>>
>>> On 01/07/16 07:41, David Gibson wrote:
>>>
>>>
From: Benjamin Herrenschmidt
The architecture specifies that any instruction that sets MSR:PR will also
set MSR:EE, IR and DR.
S
On Jul 10, 2016, at 2:09 PM, qemu-ppc-requ...@nongnu.org wrote:
> This patchset is based upon some work Ben H did to fix various DBDMA issues
> found whilst trying to boot MacOS 9 (effectively a minimal rework of a
> WIP diff). With this patch, along with the patch for odd MSR combinations,
> it
On 07/08/2016 10:27 PM, Paolo Bonzini wrote:
On 08/07/2016 10:54, Daniel P. Berrange wrote:
On Fri, Jul 08, 2016 at 09:48:23AM +0800, Fam Zheng wrote:
On Wed, 06/22 18:49, Zhang Chen wrote:
We want to poll and handle chardev in another thread
other than main loop. But qemu_chr_add_handlers(
On Sun, Jul 10, 2016 at 07:08:52PM +0100, Mark Cave-Ayland wrote:
> This patchset is based upon some work Ben H did to fix various DBDMA issues
> found whilst trying to boot MacOS 9 (effectively a minimal rework of a
> WIP diff). With this patch, along with the patch for odd MSR combinations,
> it
On Fri, Jul 08, 2016 at 03:12:07PM +0200, Greg Kurz wrote:
> If the host has 8 threads/core and the guest is started with:
>
> -smp cores=1,threads=4,maxcpus=12
>
> It is possible to crash QEMU by doing:
>
> (qemu) device_add host-spapr-cpu-core,core-id=16,id=foo
> (qemu) device_del foo
> Segmen
On Sat, Jul 09, 2016 at 01:41:31PM +1000, Benjamin Herrenschmidt wrote:
> MacOS uses an architecturally illegal MSR combination that
> seems nonetheless supported by 32-bit processors, which is
> to have MSR[PR]=1 and one or more of MSR[DR/IR/EE]=0.
>
> This adds support for it. To work properly w
I'm afraid your mailer has turned this into an unreadable HTML mess.
--
David Gibson| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dg
On Fri, Jul 08, 2016 at 05:47:01PM +0200, Greg Kurz wrote:
> On Fri, 08 Jul 2016 15:12:07 +0200
> Greg Kurz wrote:
>
> > If the host has 8 threads/core and the guest is started with:
> >
> > -smp cores=1,threads=4,maxcpus=12
> >
> > It is possible to crash QEMU by doing:
> >
> > (qemu) device_
On Sun, Jul 10, 2016 at 08:32:32PM +0100, Peter Maydell wrote:
> On 8 July 2016 at 04:42, David Gibson wrote:
> > My only concern here is that the constants are named
> > *MMU*_DATA_... whereas these are physical memory accesses not
> > involving the MMU. I can't actually see any current users of
I removed OpenTransport and other extensions and control panels as well as
patched the System Suitcase on some of those iso's on the emaculation.com
forum. They are not stock images. Perhaps we still need further work. As
far as 9.0.4 booting, I have never succeeded in booting that, awesome!
On Fri, Jul 08, 2016 at 12:59:59PM +0200, Igor Mammedov wrote:
> On Fri, 8 Jul 2016 17:39:52 +1000
> David Gibson wrote:
>
> > On Fri, Jul 08, 2016 at 12:11:12PM +0530, Bharata B Rao wrote:
> > > On Fri, Jul 08, 2016 at 03:24:13PM +1000, David Gibson wrote:
> > > > On Thu, Jul 07, 2016 at 08:20
This allows a docker file to say "ENV QEMU_CHROOT /path/to/new/root" to
indicate that the test execution should be done in a chroot in the
container.
Bind mount dev,sys,proc into QEMU_CHROOT to make them avaiable for
testing scripts.
The SYS_ADMIN is a required capability for mount, add it to the
Signed-off-by: Fam Zheng
---
tests/docker/run | 4
1 file changed, 4 insertions(+)
diff --git a/tests/docker/run b/tests/docker/run
index 575e732..38ce789 100755
--- a/tests/docker/run
+++ b/tests/docker/run
@@ -11,6 +11,8 @@
# or (at your option) any later version. See the COPYING file in
Signed-off-by: Fam Zheng
---
tests/docker/dockerfiles/debootstrap-arm.docker | 35 +
1 file changed, 35 insertions(+)
create mode 100644 tests/docker/dockerfiles/debootstrap-arm.docker
diff --git a/tests/docker/dockerfiles/debootstrap-arm.docker
b/tests/docker/dockerfil
It is very easy to figure out current directory and bash option from the
execution, so do less in the Makefile invocation command line, and
figure both options in the script.
This makes the next patch easier.
Signed-off-by: Fam Zheng
---
tests/docker/Makefile.include | 4 +---
tests/docker/run
Alex,
This is the result of my fiddling around docker + qemu-user in the weekend. It
can do most of the work except the injection of qemu-user binary from host
build. We can try to integrate your "docker.py update" into Makefile to do
that, but an open question is how to handle the dependency cle
On Fri, Jul 08, 2016 at 01:11:02PM +0200, Igor Mammedov wrote:
> On Fri, 8 Jul 2016 15:19:58 +1000
> David Gibson wrote:
>
> > On Thu, Jul 07, 2016 at 08:20:22PM +0530, Bharata B Rao wrote:
> > > Add CPUState::stable_cpu_id and use that as instance_id in
> > > vmstate_register() call.
> > >
> >
On Fri, Jul 08, 2016 at 05:24:24PM +0200, Greg Kurz wrote:
> On Fri, 8 Jul 2016 17:59:07 +1000
> David Gibson wrote:
>
> > On Fri, Jul 08, 2016 at 09:46:47AM +0200, Greg Kurz wrote:
> > > On Fri, 8 Jul 2016 15:25:33 +1000
> > > David Gibson wrote:
> > >
> > > > On Thu, Jul 07, 2016 at 06:11:3
On Fri, 8 Jul 2016 13:40:38 +0200
Igor Mammedov wrote:
> On Fri, 8 Jul 2016 12:18:55 +1000
> David Gibson wrote:
>
> > On Thu, 7 Jul 2016 17:17:13 +0200
> > Peter Krempa wrote:
> >
> > > Add 'vcpu index' to the output of query hotpluggable cpus. This output
> > > is identical to the linear
On Mon, Jul 11, 2016 at 01:22:37PM +1000, David Gibson wrote:
> On Fri, Jul 08, 2016 at 01:11:02PM +0200, Igor Mammedov wrote:
> > On Fri, 8 Jul 2016 15:19:58 +1000
> > David Gibson wrote:
> >
> > > On Thu, Jul 07, 2016 at 08:20:22PM +0530, Bharata B Rao wrote:
> > > > Add CPUState::stable_cpu_id
On Fri, Jul 08, 2016 at 12:59:59PM +0200, Igor Mammedov wrote:
> On Fri, 8 Jul 2016 17:39:52 +1000
> David Gibson wrote:
>
> > On Fri, Jul 08, 2016 at 12:11:12PM +0530, Bharata B Rao wrote:
> > > On Fri, Jul 08, 2016 at 03:24:13PM +1000, David Gibson wrote:
> > > > On Thu, Jul 07, 2016 at 08:20
Hi
Does qemu process need flush data before closing?
In the test of virtio_scsi & vhost_scsi, the first time read & write
to the mounted disk have no problem.
But after reboot, remount the disk, error happen immediately when
remove the files created in the first time.
For example:
# targetcli
/>
On 07/08/2016 05:12 PM, Jason Wang wrote:
On 2016年07月08日 16:21, Zhang Chen wrote:
On 07/08/2016 11:40 AM, Jason Wang wrote:
On 2016年06月23日 19:34, Zhang Chen wrote:
Packets coming from the primary char indev will be sent to outdev
Packets coming from the secondary char dev will be dropp
On Sat, Jul 09, 2016 at 10:14:48AM +0200, Jan Kiszka wrote:
> On 2016-07-05 10:19, Peter Xu wrote:
> > Remove VT-d calls in common q35 codes. Instead, we provide a general
> > find_add_as() for x86-iommu type.
> >
> > Signed-off-by: Peter Xu
> > ---
> > hw/i386/intel_iommu.c | 15 +++
On 2016年07月08日 17:56, Zhang Chen wrote:
On 07/08/2016 12:07 PM, Jason Wang wrote:
On 2016年06月23日 19:34, Zhang Chen wrote:
In this patch we use kernel jhash table to track
connection, and then enqueue net packet like this:
+ CompareState ++
| |
+---+ +-
On Mon, Jul 11, 2016 at 8:32 AM, Peter Xu wrote:
> On Sat, Jul 09, 2016 at 10:14:48AM +0200, Jan Kiszka wrote:
>> On 2016-07-05 10:19, Peter Xu wrote:
>> > Remove VT-d calls in common q35 codes. Instead, we provide a general
>> > find_add_as() for x86-iommu type.
>> >
>> > Signed-off-by: Peter Xu
Public bug reported:
Hi,
This issue happens when building Yocto project on i686 hosts.
Yocto version: 2.1 (krogoth branch)
qemu: 2.5
gobject-introspection: 1.46
and
Yocto version: 2.2 (master/branch)
qemu: 2.6
gobject-introspection: 1.48
Host: Fedora 23 (i686) or Debian 8 (i686)
Steps:
1. Se
On Fri, Jul 8, 2016 at 7:30 PM, Alex Williamson
wrote:
> On Fri, 8 Jul 2016 11:18:22 +0300
> David Kiarie wrote:
>
>> Add AMD IOMMU emulaton to Qemu in addition to Intel IOMMU.
>> The IOMMU does basic translation, error checking and has a
>> minimal IOTLB implementation. This IOMMU bypassed the
On Mon, Jul 11, 2016 at 08:46:12AM +0300, David Kiarie wrote:
> On Mon, Jul 11, 2016 at 8:32 AM, Peter Xu wrote:
> > On Sat, Jul 09, 2016 at 10:14:48AM +0200, Jan Kiszka wrote:
> >> On 2016-07-05 10:19, Peter Xu wrote:
> >> > Remove VT-d calls in common q35 codes. Instead, we provide a general
> >
64 matches
Mail list logo