On 07/18/2016 10:35 PM, Nikunj A Dadhania wrote:
+static void gen_maddld(DisasContext *ctx)
+{
+TCGv_i64 lo = tcg_temp_new_i64();
+TCGv_i64 hi = tcg_temp_new_i64();
+TCGv_i64 t1 = tcg_temp_new_i64();
+TCGv_i64 t2 = tcg_temp_new_i64();
+TCGv_i64 zero = tcg_const_i64(0);
+TC
On 07/18/2016 10:35 PM, Nikunj A Dadhania wrote:
+tcg_gen_andi_i32(t0, cpu_crf[crf], 0x3);
+tcg_gen_brcondi_i32(TCG_COND_EQ, t0, 0, l1);
+tcg_gen_andi_i32(t0, cpu_crf[crf], 0x1);
+tcg_gen_brcondi_i32(TCG_COND_EQ, t0, 1, l2);
+tcg_gen_movi_i64(cpu_gpr[rD(ctx->opcode)], 1);
+
On 07/18/2016 10:35 PM, Nikunj A Dadhania wrote:
+tcg_gen_andi_tl(src1, cpu_gpr[rA(ctx->opcode)], 0xFF);
+for (i = 0; i < 64; i += 8) {
+tcg_gen_shri_tl(t0, arg1, i);
+tcg_gen_andi_tl(t0, t0, 0xFF);
+tcg_gen_brcond_tl(TCG_COND_EQ, src1, t0, l1);
+}
+tcg_gen
On Wed, Jul 20, 2016 at 05:01:17PM +0100, Peter Maydell wrote:
> On 19 July 2016 at 23:29, Michael S. Tsirkin wrote:
> > The following changes since commit 3913d3707e3debfbf0d2d014a1a793394993b088:
> >
> > Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20160718'
> > into staging
On Mi, 2016-07-20 at 18:28 +0300, Marcel Apfelbaum wrote:
> Enable transitional virtio devices by default.
> Enable virtio-1.0 for devices plugged into
> PCIe ports (Root ports or Downstream ports).
>
> Using the virtio-1 mode will remove the limitation
> of the number of devices that can be attac
On 07/18/2016 10:35 PM, Nikunj A Dadhania wrote:
+if (unlikely(Rc(ctx->opcode) != 0))
+gen_set_Rc0(ctx, cpu_gpr[rA(ctx->opcode)]);
Braces.
r~
On 07/18/2016 10:35 PM, Nikunj A Dadhania wrote:
+if (unlikely(Rc(ctx->opcode) != 0))
+gen_set_Rc0(ctx, cpu_gpr[rA(ctx->opcode)]);
Braces.
r~
On 07/18/2016 10:38 AM, Nikunj A Dadhania wrote:
David Gibson writes:
[ Unknown signature status ]
On Tue, Jul 12, 2016 at 11:33:21PM +0530, Nikunj A Dadhania wrote:
Adding following instructions:
moduw: Modulo Unsigned Word
modsw: Modulo Signed Word
Signed-off-by: Nikunj A Dadhania
Hrm.
On 07/12/2016 11:33 PM, Nikunj A Dadhania wrote:
+/* cmprb - range comparison: isupper, isaplha, islower*/
+static void gen_cmprb(DisasContext *ctx)
+{
+TCGLabel *lab1 = gen_new_label();
+TCGLabel *lab2 = gen_new_label();
+TCGv src1 = tcg_temp_local_new();
+TCGv src2 = tcg_temp_lo
Hi
On Thu, Jul 21, 2016 at 5:33 AM, Changlong Xie
wrote:
> Since commit e5dfc5e broke the logic of @top_of_kernel_tree
>
> Cc: Pranith Kumar
> Cc: Paolo Bonzini
> Cc: Stefan Hajnoczi
> Signed-off-by: Changlong Xie
> ---
> scripts/checkpatch.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 dele
On 07/12/2016 11:33 PM, Nikunj A Dadhania wrote:
+static void gen_addpcis(DisasContext *ctx)
+{
+target_long d = DX(ctx->opcode);
+
+tcg_gen_movi_tl(cpu_gpr[rD(ctx->opcode)], ctx->nip);
+tcg_gen_addi_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rD(ctx->opcode)], d);
+}
(1) You appear to hav
Commit 4322e8c "ppc: Fix 64K pages support in full emulation" added
the POWERPC_MMU_64K flag to the POWERPC_MMU_2_06 and POWERPC_MMU_2_07
definitions but not to their "degraded" variants. When running with PR
KVM, kvm_fixup_page_sizes() removes the POWERPC_MMU_1TSEG flag from
the MMU value then lat
On 07/20/2016 06:28 PM, Marcel Apfelbaum wrote:
Enable transitional virtio devices by default.
Enable virtio-1.0 for devices plugged into
PCIe ports (Root ports or Downstream ports).
Using the virtio-1 mode will remove the limitation
of the number of devices that can be attached to a machine
by
Closing since it seems to be fixed in latest release.
** Changed in: qemu
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/498035
Title:
qemu hangs on shutdo
Usage:
-incoming file:/path/to/vm_statefile
Besides, use qemu_strtol() instead of strtol().
Signed-off-by: zhanghailiang
Signed-off-by: Benoit Canet
---
include/migration/migration.h | 2 ++
migration/fd.c| 37 +++--
migration/migration.c
It is more simple to use file:url to migrate VM into file.
Besides, it will be used in memory snapshot.
Test:
1) migrate VM state into file:
migrate file:url
2) Restore VM from the file:
qemu-system-x86_64 xxx --incoming file:url
zhanghailiang (2):
migration: Allow the migrate command to
Usage:
(qemu) migrate file:/path/to/vm_statefile
Signed-off-by: zhanghailiang
Signed-off-by: Benoit Canet
---
include/migration/migration.h | 2 ++
migration/fd.c| 34 --
migration/migration.c | 2 ++
migration/trace-events| 1 +
This patch adds a basic dd subcommand analogous to dd(1) to qemu-img.
For the start, this implements the bs, if, of and count options and requires
both if and of to be specified (no stdin/stdout if not specified) and doesn't
support tty, pipes, etc.
The image format must be specified with -O for
Hi,
A CVE(CVE-2014-3672) vulnerability was reported in Xen.
I want to know how to reproduce this CVE and whether the qemu-kvm was affected ?
Hyperlink: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3672
Hyperlink: http://www.openwall.com/lists/oss-security/2016/05/24/5
Thank you.
-
On Tue, Jul 19, 2016 at 10:02:59PM -0700, Andrey Smirnov wrote:
> Convert target_memory_rw_debug to use MemoryAccessType as to follow
> similar conversion of cpu_memory_rw_debug.
>
> Signed-off-by: Andrey Smirnov
Reviewed-by: David Gibson
> ---
> gdbstub.c | 13 -
> 1 file changed
On Tue, Jul 19, 2016 at 10:02:58PM -0700, Andrey Smirnov wrote:
> Convert address_space_rw() to use MemoryAccessType following the
> conversion of cpu_memory_rw_debug().
>
> Signed-off-by: Andrey Smirnov
Reviewed-by: David Gibson
> ---
> exec.c | 14 +-
> include
Sorry, reply is wrong.
在 2016年07月21日 09:38, wangweiwei 写道:
在 2016年07月20日 19:35, Eric Blake 写道:
On 07/04/2016 07:49 AM, Peter Lieven wrote:
Hi,
the above commit:
commit d05aa8bb4a8b6aa9a915ec5074fb12ae632d2323
Author: Eric Blake
Date: Wed Jun 1 15:10:03 2016 -0600
block: Add .bdrv_co
在 2016年07月20日 19:35, Eric Blake 写道:
On 07/04/2016 07:49 AM, Peter Lieven wrote:
Hi,
the above commit:
commit d05aa8bb4a8b6aa9a915ec5074fb12ae632d2323
Author: Eric Blake
Date: Wed Jun 1 15:10:03 2016 -0600
block: Add .bdrv_co_pwrite_zeroes()
introduces a regression (at least for me).
Since commit e5dfc5e broke the logic of @top_of_kernel_tree
Cc: Pranith Kumar
Cc: Paolo Bonzini
Cc: Stefan Hajnoczi
Signed-off-by: Changlong Xie
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index af
On 07/20/2016 10:08 PM, Paolo Bonzini wrote:
- Original Message -
From: "Denis V. Lunev"
To: "Vladimir Sementsov-Ogievskiy" ,
qemu-bl...@nongnu.org, qemu-devel@nongnu.org
Cc: stefa...@redhat.com, f...@redhat.com, mre...@redhat.com, jc...@redhat.com,
ebl...@redhat.com,
pbonz...@redhat
On 07/04/2016 07:49 AM, Peter Lieven wrote:
> Hi,
>
> the above commit:
>
> commit d05aa8bb4a8b6aa9a915ec5074fb12ae632d2323
> Author: Eric Blake
> Date: Wed Jun 1 15:10:03 2016 -0600
>
> block: Add .bdrv_co_pwrite_zeroes()
>
> introduces a regression (at least for me).
>
> The Limits fr
On Wed, Jul 20, 2016 at 6:07 PM, Peter Maydell wrote:
> On 20 July 2016 at 22:33, Pranith Kumar wrote:
>> Hmm, the original README did not have an explicit new line at end of
>> file.
>
> Yes it did:
> $ git show 70f87e0f0a:README | tail -c 1 | od -An -a
> nl
>
OK.
The v2 version of the patch
On 20 July 2016 at 22:33, Pranith Kumar wrote:
> Hmm, the original README did not have an explicit new line at end of
> file.
Yes it did:
$ git show 70f87e0f0a:README | tail -c 1 | od -An -a
nl
thanks
-- PMM
On 07/20/2016 03:33 PM, Pranith Kumar wrote:
>>> + - http://qemu-project.org/Contribute/StartHere
>>> \ No newline at end of file
>>
>> Why no ending newline?
>>
>
> Hmm, the original README did not have an explicit new line at end of
> file. I am not sure if it is really necessary though. Why d
On Wed, Jul 20, 2016 at 03:24:41PM -0600, Eric Blake wrote:
> On 07/19/2016 06:21 PM, Jeff Cody wrote:
> > From: Prasanna Kumar Kalever
> >
> > this patch adds 'GlusterServer' related schema in qapi/block-core.json
> >
> > [Jeff: minor fix-ups of comments and formatting, per patch reviews]
> >
On Wed, Jul 20, 2016 at 5:29 PM, Eric Blake wrote:
> On 07/20/2016 01:39 PM, Pranith Kumar wrote:
>> Signed-off-by: Pranith Kumar
>> ---
>> README | 44 +---
>> 1 file changed, 21 insertions(+), 23 deletions(-)
>>
>
> In addition to Stefan's comments,
>
>
On 07/20/2016 01:39 PM, Pranith Kumar wrote:
> Signed-off-by: Pranith Kumar
> ---
> README | 44 +---
> 1 file changed, 21 insertions(+), 23 deletions(-)
>
In addition to Stefan's comments,
> Information on additional methods of contacting the communit
On 07/19/2016 06:21 PM, Jeff Cody wrote:
> From: Prasanna Kumar Kalever
>
> this patch adds 'GlusterServer' related schema in qapi/block-core.json
>
> [Jeff: minor fix-ups of comments and formatting, per patch reviews]
>
> Signed-off-by: Prasanna Kumar Kalever
> Reviewed-by: Markus Armbruster
On 07/20/2016 10:05 AM, Peter Maydell wrote:
> On 19 July 2016 at 23:47, Max Reitz wrote:
>> The following changes since commit 5d3217340adcb6c4f0e4af5d2b865331eb2ff63d:
>>
>> disas: Fix ATTRIBUTE_UNUSED define clash with ALSA headers (2016-07-19
>> 16:40:39 +0100)
>>
>> are available in the gi
On 20 July 2016 at 17:20, Stefan Hajnoczi wrote:
> The following changes since commit 338404d061144956b76f9893ca3434d057dff2d4:
>
> Merge remote-tracking branch
> 'remotes/pmaydell/tags/pull-target-arm-20160719' into staging (2016-07-20
> 12:48:18 +0100)
>
> are available in the git repository
On 20 July 2016 at 16:08, Eduardo Habkost wrote:
> Changes v2:
> * Fixed 32-bit build error by using %d and idx at
> pc_cpu_pre_plug()
>
> The following changes since commit 338404d061144956b76f9893ca3434d057dff2d4:
>
> Merge remote-tracking branch
> 'remotes/pmaydell/tags/pull-target-arm-201
On 20 July 2016 at 15:17, Cornelia Huck wrote:
> ck/qemu s390x-20160720
> The following changes since commit 1ecfb24da987b862fd46a5b37292879952ea9e7d:
>
> Merge remote-tracking branch 'remotes/riku/tags/pull-linux-user-20160719-2'
> into staging (2016-07-20 11:32:12 +0
Hi,
Le 18/07/2016 à 17:18, Dr. David Alan Gilbert (git) a écrit :
From: "Dr. David Alan Gilbert"
rc4030 seems to be part of a MIPS chipset; this converts it to
VMState.
Note:
a) It builds but I've not found a way to boot a MIPS Jazz image to
test it.
b) It was saving 0..<15 on the 1
When we renamed README we caused a bunch of regressions caused by
checkpatch.pl and the windows installer which check for the presence
of the README file. The ensuring discussion made it clear that having
a symlink is preferable. This patch series implements that.
This works as expected and can be
Signed-off-by: Pranith Kumar
Reviewed-by: Stefan Weil
---
README.md | 1 +
1 file changed, 1 insertion(+)
create mode 12 README.md
diff --git a/README.md b/README.md
new file mode 12
index 000..100b938
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+README
\ No newline at end of file
Signed-off-by: Pranith Kumar
Reviewed-by: Stefan Weil
---
README | 44 +---
1 file changed, 21 insertions(+), 23 deletions(-)
diff --git a/README b/README
index f38193f..8a7ac66 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
- QEMU README
-
checkpatch.pl and other scripts fail without README. Also in dicussions
it was deemed safer to create a symlink, the patch for which follows.
This reverts commit e5dfc5e8e715c572aea44ac4d96c43941d4741c7.
Signed-off-by: Pranith Kumar
Reviewed-by: Stefan Weil
---
README.md => README | 41 +++
Thank you for reviewing.
On Wed, Jul 20, 2016 at 4:10 PM, Stefan Weil wrote:
> See comments below.
>
> I'd also switch commits 2 and 3, because 2 is only valid as soon as
> README is in markup format.
>
OK, I will update patches 2 and 3 and resend a v2.
Thanks!
--
Pranith
Sorry for the long delay:
On Thu, Jul 14, 2016 at 10:29:57AM +0200, Igor Mammedov wrote:
> On Thu, 14 Jul 2016 11:42:40 +1000
> David Gibson wrote:
>
> > On Wed, Jul 13, 2016 at 08:05:03PM +0200, Greg Kurz wrote:
> > > When passing '-global driver=host-powerpc64-cpu,property=compat,value=foo'
>
On 07/20/16 21:39, Pranith Kumar wrote:
> checkpatch.pl and other scripts fail without README. Also in dicussions
> it was deemed safer to create a symlink, the patch for which follows.
>
> This reverts commit e5dfc5e8e715c572aea44ac4d96c43941d4741c7.
>
> Signed-off-by: Pranith Kumar
> ---
> RE
See comments below.
On 07/20/16 21:39, Pranith Kumar wrote:
> Signed-off-by: Pranith Kumar
> ---
> README | 44 +---
> 1 file changed, 21 insertions(+), 23 deletions(-)
>
> diff --git a/README b/README
> index f38193f..8d5744d 100644
> --- a/README
> +++
with ALSA headers (2016-07-19
> 16:40:39 +0100)
>
> are available in the git repository at:
>
> git://git.kraxel.org/qemu tags/pull-usb-20160720-1
>
> for you to fetch changes up to 87ae924b73cbbe13ad800ab2016d011b42456f25:
>
>
Signed-off-by: Pranith Kumar
---
README.md | 1 +
1 file changed, 1 insertion(+)
create mode 12 README.md
diff --git a/README.md b/README.md
new file mode 12
index 000..100b938
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+README
\ No newline at end of file
--
2.9.2
checkpatch.pl and other scripts fail without README. Also in dicussions
it was deemed safer to create a symlink, the patch for which follows.
This reverts commit e5dfc5e8e715c572aea44ac4d96c43941d4741c7.
Signed-off-by: Pranith Kumar
---
README.md => README | 41 +
Signed-off-by: Pranith Kumar
---
README | 44 +---
1 file changed, 21 insertions(+), 23 deletions(-)
diff --git a/README b/README
index f38193f..8d5744d 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
- QEMU README
- ===
+QEMU
+===
When we renamed README we caused a bunch of regressions caused by
checkpatch.pl and the windows installer which check for the presence
of the README file. The ensuring discussion made it clear that having
a symlink is preferable. This patch series implements that.
This works as expected and can be
The cc-option macro runs $(CC) in -S mode (generate assembly) to avoid a
pointless run of the assembler. However, this does not work when you want
to detect support for cc->as option passthrough. clang ignores -Wa unless
-c is provided, and exits successfully even if the -Wa,-32 option is not
sup
On 20 July 2016 at 12:32, Daniel P. Berrange wrote:
> The following changes since commit a3b343772114c8c98986508f3352a631164f913c:
>
> Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into
> staging (2016-07-19 15:08:05 +0100)
>
> are available in the git repository at:
>
> gi
eaders (2016-07-19
> 16:40:39 +0100)
>
> are available in the git repository at:
>
> git://git.kraxel.org/qemu tags/pull-vga-20160720-1
>
> for you to fetch changes up to e0127d2eec9cd5676ea9f3c47c2a7579a02c0466:
>
> qxl: fix qxl_set_dirty ca
- Original Message -
> From: "Denis V. Lunev"
> To: "Vladimir Sementsov-Ogievskiy" ,
> qemu-bl...@nongnu.org, qemu-devel@nongnu.org
> Cc: stefa...@redhat.com, f...@redhat.com, mre...@redhat.com,
> jc...@redhat.com, ebl...@redhat.com,
> pbonz...@redhat.com, "Kevin Wolf"
> Sent: Wednesd
On 07/14/2016 08:19 PM, Vladimir Sementsov-Ogievskiy wrote:
Mirror can do up to 16 in-flight requests, but actually on full copy
(the whole source disk is non-zero) in-flight is always 1. This happens
as the request is not limited in size: the data occupies maximum available
capacity of s->buf.
On 20 July 2016 at 12:22, Fam Zheng wrote:
> The following changes since commit 5d3217340adcb6c4f0e4af5d2b865331eb2ff63d:
>
> disas: Fix ATTRIBUTE_UNUSED define clash with ALSA headers (2016-07-19
> 16:40:39 +0100)
>
> are available in the git repository at:
>
> g...@github.com:famz/qemu tags
From: "Dr. David Alan Gilbert"
virgl conditionally registers a vmstate as unmigratable when virgl
is enabled; instead use the migrate_add_blocker mechanism.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Cornelia Huck
Revi
On 07/20/16 20:07, John Snow wrote:
> On 07/20/2016 08:31 AM, Eric Blake wrote:
>> On 07/20/2016 04:48 AM, Stefan Weil wrote:
>>> Am 20.07.2016 um 12:36 schrieb Peter Maydell:
On 20 July 2016 at 08:27, Fam Zheng wrote:
> Commit e5dfc5e8e71 renamed README to README.md but
> scripts/che
On 20 July 2016 at 01:20, Jeff Cody wrote:
> The following changes since commit 5d3217340adcb6c4f0e4af5d2b865331eb2ff63d:
>
> disas: Fix ATTRIBUTE_UNUSED define clash with ALSA headers (2016-07-19
> 16:40:39 +0100)
>
> are available in the git repository at:
>
> g...@github.com:codyprime/qemu
From: "Dr. David Alan Gilbert"
Forcibly convert it to a vmstate wrapper; proper conversion
comes later.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Greg Kurz
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/9pfs/virtio-9p-device.c
On 07/20/2016 08:31 AM, Eric Blake wrote:
> On 07/20/2016 04:48 AM, Stefan Weil wrote:
>> Am 20.07.2016 um 12:36 schrieb Peter Maydell:
>>> On 20 July 2016 at 08:27, Fam Zheng wrote:
Commit e5dfc5e8e71 renamed README to README.md but
scripts/checkpatch.pl still looks for the old name t
From: "Dr. David Alan Gilbert"
Forcibly convert it to a vmstate wrapper; proper conversion
comes later.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Gerd Hoffmann
---
hw/display/virtio-gpu.c
From: "Dr. David Alan Gilbert"
Forcibly convert it to a vmstate wrapper; proper conversion
comes later.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/char/virtio-serial-bus.c | 27 ++
From: "Dr. David Alan Gilbert"
Remove references to register_savevm.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
docs/virtio-migration.txt | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
From: "Dr. David Alan Gilbert"
Forcibly convert it to a vmstate wrapper; proper conversion
comes later.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/virtio/virtio-balloon.c | 19 +--
From: "Dr. David Alan Gilbert"
Forcibly convert it to a vmstate wrapper; proper conversion
comes later.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/virtio/virtio-rng.c | 20 +---
1
From: "Dr. David Alan Gilbert"
Forcibly convert it to a vmstate wrapper; proper conversion
comes later.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/net/virtio-net.c | 17 +++--
1 file
From: "Dr. David Alan Gilbert"
Forcibly convert it to a vmstate wrapper; proper conversion
comes later.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/input/virtio-input.c | 26 ++
From: "Dr. David Alan Gilbert"
Forcibly convert it to a vmstate wrapper; proper conversion
comes later.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/block/virtio-blk.c | 16 ++--
1 file
From: "Dr. David Alan Gilbert"
virtio-serial-bus has had version 3 since 37f95bf3d0 in 0.13-rc0;
it's time to clean it up a bit.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Amit Shah
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/char/virtio-serial-bus.c | 3
From: "Dr. David Alan Gilbert"
Forcibly convert it to a vmstate wrapper; proper conversion
comes later.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/scsi/virtio-scsi.c | 21 ++---
1
From: "Dr. David Alan Gilbert"
To make conversion of virtio devices to VMState simple
at first add a helper function for the simple virtio_save
case and a helper macro that defines the VMState structure.
These will probably go away or change as more of the virtio
code gets converted.
Signed-off-
From: Peter Xu
In the past, we are doing gsi route commit for each irqchip route
update. This is not efficient if we are updating lots of routes in the
same time. This patch removes the committing phase in
kvm_irqchip_update_msi_route(). Instead, we do explicit commit after all
routes updated.
S
From: Fam Zheng
Using this function instead of virtio_add_queue marks the vq as aio
based. This differentiation will be useful in later patches.
Distinguish between virtqueue processing in the iohandler context and main loop
AioContext. iohandler context is isolated from AioContexts and therefo
From: Fam Zheng
This reverts commit ab27c3b5e7408693dde0b565f050aa55c4a1bcef.
The virtio storage device host notifiers now work with
bdrv_drained_begin/end, so we don't need this hack any more.
Signed-off-by: Fam Zheng
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
Reviewe
From: "Dr. David Alan Gilbert"
virtio-net has had version 11 since 0ce0e8f4 in 2009
(v0.11.0-rc0-1480-g0ce0e8f) - remove the code to support loading
anything earlier.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Amit Shah
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
From: Peter Xu
When user specify "intremap=on" with "-M kernel-irqchip=on", throw error
and then quit.
Signed-off-by: Peter Xu
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/intel_iommu.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/hw/i386/
From: Peter Xu
Changing the original MSIMessage parameter in kvm_irqchip_add_msi_route
into the vector number. Vector index provides more information than the
MSIMessage, we can retrieve the MSIMessage using the vector easily. This
will avoid fetching MSIMessage every time before adding MSI route
From: Fam Zheng
The function pointer signature has been repeated a few times, using a
typedef may make coding easier.
Signed-off-by: Fam Zheng
Reviewed-by: Stefan Hajnoczi
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Cornelia Huck
Reviewed-by: Stefan Hajnoc
From: Fam Zheng
There is a new common one in virtio.h, use it.
Signed-off-by: Fam Zheng
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Cornelia Huck
Reviewed-by: Stefan Hajnoczi
Acked-by: Paolo Bonzini
---
include/hw/virtio/virtio-scsi.h | 6 ++
hw/scsi
From: Peter Xu
These will help us monitoring irqchip route activities more easily.
Signed-off-by: Peter Xu
Reviewed-by: Paolo Bonzini
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
kvm-all.c| 5 +
trace-events | 3 +++
2 files changed, 8 insertions(+)
diff --
From: Peter Xu
This patch enables SID validation. Invalid interrupts will be dropped.
Signed-off-by: Peter Xu
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
include/hw/i386/intel_iommu.h | 17 +++
hw/i386/intel_iommu.c | 69 +
From: Radim Krčmář
Linux guests do not gracefully handle cases when the invalidation mask
they wanted is not supported, probably because real hardware always
allowed all.
We can just say that all 16 masks are supported, because both
ioapic_iec_notifier and kvm_update_msi_routes_all invalidate al
From: Fam Zheng
AIO based handler is more appropriate here because it will then
cooperate with bdrv_drained_begin/end. It is needed by the coming
revert patch.
Signed-off-by: Fam Zheng
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Cornelia Huck
Reviewed-by: S
From: Peter Xu
Let IOAPIC the first consumer of x86 IOMMU IEC invalidation
notifiers. This is only used for split irqchip case, when vIOMMU
receives IR invalidation requests, IOAPIC will be notified to update
kernel irq routes. For simplicity, we just update all IOAPIC routes,
even if the invalid
From: Peter Xu
Several data structs are defined to better support the rest of the
patches: IRTE to parse remapping table entries, and IOAPIC/MSI related
structure bits to parse interrupt entries to be filled in by guest
kernel.
Signed-off-by: Peter Xu
Reviewed-by: Michael S. Tsirkin
Signed-off
From: Peter Xu
One more IEC notifier is added to let msi routes know about the IEC
changes. When interrupt invalidation happens, all registered msi routes
will be updated for all PCI devices.
Since both vfio and vhost are possible gsi route consumers, this patch
will go one step further to keep
From: Fam Zheng
AIO based handler is more appropriate here because it will then
cooperate with bdrv_drained_begin/end. It is needed by the coming
revert patch.
Signed-off-by: Fam Zheng
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Cornelia Huck
Reviewed-by: S
From: Peter Xu
Handle writting to IRE bit in global command register.
Signed-off-by: Peter Xu
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/intel_iommu.c | 20
1 file changed, 20 insertions(+)
diff --git a/hw/i386/intel_iommu.c b/hw/i386/
From: Peter Xu
Abstract IOAPIC entry parsing logic into a helper function.
Signed-off-by: Peter Xu
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/intc/ioapic.c | 110 +++
1 file changed, 54 insertions(+), 56 deleti
From: Peter Xu
Adding two hooks to be notified when adding/removing msi routes. There
are two kinds of MSI routes:
- in kvm_irqchip_add_irq_route(): before assigning IRQFD. Used by
vhost, vfio, etc.
- in kvm_irqchip_send_msi(): when sending direct MSI message, if
direct MSI not allowed, we
From: Peter Xu
In split irqchip mode, IOAPIC is working in user space, only update
kernel irq routes when entry changed. When IR is enabled, we directly
update the kernel with translated messages. It works just like a kernel
cache for the remapping entries.
Since KVM irqfd is using kernel gsi ro
From: Peter Xu
Defined Interrupt Remap Table Address register to store IR table
pointer. Also, do proper handling on global command register writes to
store table pointer and its size.
One more debug flag "DEBUG_IR" is added for interrupt remapping.
Signed-off-by: Peter Xu
Reviewed-by: Michael
From: Peter Xu
This patch translates all IOAPIC interrupts into MSI ones. One pseudo
ioapic address space is added to transfer the MSI message. By default,
it will be system memory address space. When IR is enabled, it will be
IOMMU address space.
Currently, only emulated IOAPIC is supported.
I
From: Jan Kiszka
As neither QEMU nor KVM support more than 255 CPUs so far, this is
simple: we only need to switch the destination ID translation in
vtd_remap_irq_get if EIME is set.
Once CFI support is there, it will have to take EIM into account as
well. So far, nothing to do for this.
This p
From: Peter Xu
Adding one property for intel-iommu devices to specify whether we should
support interrupt remapping. By default, IR is disabled. To enable it,
we should use (take Intel IOMMU as example):
-device intel_iommu,intremap=on
This property can be shared by Intel and future AMD IOMMU
From: Peter Xu
To enable interrupt remapping for intel IOMMU device, each IOAPIC device
in the system reported via ACPI MADT must be explicitly enumerated under
one specific remapping hardware unit. This patch adds the root-complex
IOAPIC into the default DMAR device.
Please refer to VT-d spec 8
From: Peter Xu
Adding translation fault definitions for interrupt remapping. Please
refer to VT-d spec section 7.1.
Signed-off-by: Peter Xu
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/intel_iommu_internal.h | 13 +
1 file changed, 13 insertions(+
From: Peter Xu
This patch introduces x86 IOMMU IEC (Interrupt Entry Cache)
invalidation notifier list. When vIOMMU receives IEC invalidate
request, all the registered units will be notified with specific
invalidation requests.
Intel IOMMU is the first provider that generates such a event.
Signe
1 - 100 of 268 matches
Mail list logo