13.06.2016 17:20, Ladi Prosek wrote:
Unused function declarations were found using a simple gcc plugin and
manually verified by grepping the sources.
Applied to -trivial, thank you!
Verified it all, too.
/mjt
On Wed, Sep 14, 2016 at 03:55:28PM +1000, David Gibson wrote:
[...]
> > -static void vtd_iommu_notify_started(MemoryRegion *iommu)
> > +static void vtd_iommu_notify_flag_changed(MemoryRegion *iommu,
> > + IOMMUNotifierFlag old,
> > +
08.07.2016 14:18, Tomáš Golembiovský wrote:
Another attempt to fix the bug 1596870.
When creating new disk backed by remote file accessed via HTTPS and the
backing file has zero length, qemu-img terminates with uniformative
error message:
qemu-img: disk.qcow2: CURL: Error opening file:
Whi
On Wed, Sep 14, 2016 at 03:48:32PM +1000, David Gibson wrote:
> On Fri, Sep 09, 2016 at 10:57:42AM +0800, Peter Xu wrote:
> > IOMMU Notifier list is used for notifying IO address mapping changes.
> > Currently VFIO is the only user.
> >
> > However it is possible that future consumer like vhost wo
15.06.2016 19:14, Laurent Vivier wrote:
This series is the result of the following coccinelle script:
@@
type T;
T v;
@@
- (T *)&v
+ &v
This script removes the cast of a variable when the variable
is already of the casting type.
The script is added in script
14.06.2016 19:00, Eduardo Habkost wrote:
On Tue, Jun 14, 2016 at 04:44:57PM +0100, Daniel P. Berrange wrote:
The g_test_trap_subprocess() method does not work on the
Mingw32 platform, causing the test-qdev-global-props
test case to abort
(test-logging.exe:230): GLib-ERROR **: g_test_trap_subpro
On Wed, Sep 14, 2016 at 03:12:43PM +0800, Peter Xu wrote:
> On Wed, Sep 14, 2016 at 03:55:28PM +1000, David Gibson wrote:
>
> [...]
>
> > > -static void vtd_iommu_notify_started(MemoryRegion *iommu)
> > > +static void vtd_iommu_notify_flag_changed(MemoryRegion *iommu,
> > > +
23.03.2016 21:32, Md Haris Iqbal wrote:
Signed-off-by: Md Haris Iqbal
---
linux-user/qemu.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 26b0ba2..3c3fd15 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -381,7 +381,
03.05.2016 04:10, Christopher Friedt wrote:
Currently, at least on Mac OS X 10.11.4 (El Capitan), Qemu fails to build for a
few reasons.
One of those reasons is that Apple's ld (at least ld64) does not properly
process archive files created with ar (even Apple's ar).
After some RTFM'ing, I ca
Is this (quite old) patch still relevant?
Thanks,
/mjt
05.03.2016 16:47, Wei Yang wrote:
According to linux kernel commit <89c1e79eb30> ("linux/bitmap.h: improve
BITMAP_{LAST,FIRST}_WORD_MASK"), these two macro could be improved.
This patch takes this change and also move them all in header f
15.06.2016 19:14, Laurent Vivier пишет:
This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci
CC: Daniel P. Berrange
Signed-off-by: Laurent Vivier
---
crypto/cipher-builtin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/crypto/cipher-builti
On Wed, Sep 14, 2016 at 05:15:03PM +1000, David Gibson wrote:
[...]
> > > @@ -1564,8 +1569,22 @@ void
> > > memory_region_unregister_iommu_notifier(MemoryRegion *mr, Notifier *n)
> > > void memory_region_notify_iommu(MemoryRegion *mr,
> > > IOMMUTLBEntry entry)
07.08.2016 09:50, Donny Yang wrote:
Signed-off-by: Donny Yang
---
hw/timer/imx_gpt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/timer/imx_gpt.c b/hw/timer/imx_gpt.c
index 82bc73c..02d875f 100644
--- a/hw/timer/imx_gpt.c
+++ b/hw/timer/imx_gpt.c
@@ -306,8 +306,8 @
On Wed, Sep 14, 2016 at 05:22:40PM +1000, David Gibson wrote:
> On Wed, Sep 14, 2016 at 03:12:43PM +0800, Peter Xu wrote:
> > On Wed, Sep 14, 2016 at 03:55:28PM +1000, David Gibson wrote:
> >
> > [...]
> >
> > > > -static void vtd_iommu_notify_started(MemoryRegion *iommu)
> > > > +static void vtd
CC: Hannes Reinecke
CC: Paolo Bonzini
CC: Markus Armbruster
CC: Marcel Apfelbaum
CC: Michael S. Tsirkin
Signed-off-by: Cao jin
---
hw/scsi/megasas.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/hw/scsi/megasas.c b/hw/scsi/megasas.c
index d801dd0.
v3 changelog:
1. withdraw the patch "msix_init: assert programming error",
set error in the main patch "Convert msix_init to Error..."
2. separate 3 new from main patch as per comments: patch 2,4,5
3. a new patch 8
CC: Jiri Pirko
CC: Gerd Hoffmann
CC: Dmitry Fleytman
CC: Jason Wang
CC: Mich
CC: Markus Armbruster
CC: Marcel Apfelbaum
CC: Michael S. Tsirkin
Signed-off-by: Cao jin
---
hw/pci/msix.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/hw/pci/msix.c b/hw/pci/msix.c
index 0ec1cb1..0cee631 100644
--- a/hw/pci/msix.c
+++ b/hw/pci/msix.c
@@ -447,8 +
Commit afea4e14 seems forgetting to undo the overwrites, which is
unsuitable.
CC: Hannes Reinecke
CC: Paolo Bonzini
CC: Markus Armbruster
CC: Marcel Apfelbaum
CC: Michael S. Tsirkin
Signed-off-by: Cao jin
---
hw/scsi/megasas.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
di
Resolve the TODO, msix=auto means msix on; if user specify msix=on,
then device creation fail on msix_init failure.
CC: Gerd Hoffmann
CC: Michael S. Tsirkin
CC: Markus Armbruster
CC: Marcel Apfelbaum
Signed-off-by: Cao jin
---
hw/usb/hcd-xhci.c | 35 ---
1 fil
20.06.2016 09:13, Cao jin wrote:
All the other devices` .realize function name are xxx_realize, except this one.
Applied to -trivial, thanks!
/mjt
cc: Michael S. Tsirkin
cc: Marcel Apfelbaum
cc: Paolo Bonzini
cc: Markus Armbruster
Reviewed-by: Markus Armbruster
Reviewed-by: Marcel Apfe
msix_init() reports errors with error_report(), which is wrong when
it's used in realize(). The same issue was fixed for msi_init() in
commit 1108b2f.
For some devices(like e1000e, vmxnet3) who won't fail because of
msix_init's failure, suppress the error report by passing NULL error object.
Bon
Resolve the TODO, msix=auto means msix on; if user specify msix=on,
then device creation fail on msix_init failure.
Also undo the overwrites of user configuration of msix.
CC: Michael S. Tsirkin
CC: Hannes Reinecke
CC: Paolo Bonzini
CC: Markus Armbruster
CC: Marcel Apfelbaum
Signed-off-by: Ca
This is a backlog of all trivial patches accumulated since Jul this year.
Not a huge amount for more than a month.
Please consider applying.
Thanks,
/mjt
The following changes since commit 507e4ddc3abf67391bcbc9624fd60b969c159b78:
Merge remote-tracking branch 'remotes/mjt/tags/trivial-patche
From: Thomas Huth
These header files obviously belong to the PC chipset (since
their names match the other .c files in this section).
Signed-off-by: Thomas Huth
Signed-off-by: Michael Tokarev
---
MAINTAINERS | 4
1 file changed, 4 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
ind
The corresponding msi flag is already dropped in commit 1070048e.
CC: Dmitry Fleytman
CC: Jason Wang
CC: Michael S. Tsirkin
CC: Markus Armbruster
CC: Marcel Apfelbaum
Signed-off-by: Cao jin
---
hw/net/vmxnet3.c | 38 ++
1 file changed, 14 insertions(+), 2
From: Laurent Vivier
This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci
CC: Bastian Koppelmann
Signed-off-by: Laurent Vivier
Reviewed-by: Bastian Koppelmann
Signed-off-by: Michael Tokarev
---
hw/tricore/tricore_testboard.c | 2 +-
1 file changed, 1 insertion(+),
From: Tomáš Golembiovský
Another attempt to fix the bug 1596870.
When creating new disk backed by remote file accessed via HTTPS and the
backing file has zero length, qemu-img terminates with uniformative
error message:
qemu-img: disk.qcow2: CURL: Error opening file:
While it may not make
Param checking/correcting code of xchi->numintrs should be placed before
it is used.
Also move some resource-alloc code down, save the strenth to free them
on msi_init's failure.
CC: Gerd Hoffmann
CC: Markus Armbruster
CC: Marcel Apfelbaum
CC: Michael S. Tsirkin
Signed-off-by: Cao jin
---
hw
From: Thomas Huth
get_maintainer.pl now properly recognizes that the files in
include/hw/sh4/ belong to SH4.
Signed-off-by: Thomas Huth
Signed-off-by: Michael Tokarev
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 8f6e8a2..3d3098c 100644
--
Hi,
We found a problem that when a redhat 6 VM reboots (in grub countdown UI),
migrating this VM will result in VM’s memory difference between source and
destination side. The difference always resides in GPA 0xA~0xC, i.e.
SMRAM area.
Occasionally this result in VM instruction emulatio
From: Eduardo Habkost
On Tue, Jun 14, 2016 at 04:44:57PM +0100, Daniel P. Berrange wrote:
> The g_test_trap_subprocess() method does not work on the
> Mingw32 platform, causing the test-qdev-global-props
> test case to abort
>
> (test-logging.exe:230): GLib-ERROR **: g_test_trap_subprocess()
> fa
From: Thomas Huth
host-utils.h and timer.h are included twice in tcg.c.
One time should be enough.
Signed-off-by: Thomas Huth
Signed-off-by: Michael Tokarev
---
tcg/tcg.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 42417bd..c450c62 100644
--- a/tcg/tcg.c
+
From: Laurent Vivier
This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci
CC: Cornelia Huck
Signed-off-by: Laurent Vivier
Signed-off-by: Michael Tokarev
---
hw/s390x/sclp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/s390x/sclp.c b/hw/s39
From: Cao jin
All the other devices` .realize function name are xxx_realize, except this one.
cc: Michael S. Tsirkin
cc: Marcel Apfelbaum
cc: Paolo Bonzini
cc: Markus Armbruster
Reviewed-by: Markus Armbruster
Reviewed-by: Marcel Apfelbaum
Signed-off-by: Cao jin
Signed-off-by: Michael Tok
From: Thomas Huth
The HPPA backend has been removed by the following commit:
802b5081233a6b643a8b135a5facaf14bafaa77d
tcg-hppa: Remove tcg backend
But some small pieces of the HPPA backend still survived until
today. Since we also do not have support for a HPPA target in
QEMU, we can no
From: Stefano Dong (董兴水)
Duplicated in commit ca0b756. Delete it.
Signed-off-by: Stefano Dong (董兴水)
Reviewed-by: Marc-André Lureau
Reviewed-by: Markus Armbruster
Signed-off-by: Michael Tokarev
---
hw/misc/ivshmem.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/misc/ivshmem.c b/hw/m
On Wed, Sep 14, 2016 at 12:52 AM, Eric Blake wrote:
> On 09/09/2016 02:02 PM, Ashijeet Acharya wrote:
>> Mark old-commands for speed and downtime as deprecated.
>
> Maybe s/old-commands for speed and downtime/the old commands
> 'migrate_set_speed' and 'migrate_set_downtime'/
>
>> Move max-bandwidt
On Wed, Sep 14, 2016 at 02:09:02AM -0400, Wei Huang wrote:
> This patch adds a pmu=[on/off] option to enable/disable vPMU support
> in guest VM. The pmu option is available only for cortex-a57/cortex-53/
> host under both TCG and KVM modes. Additionally pmu can only be turned
> on under KVM mode, o
From: Cao jin
The comments is outdated. The patch has following changes:
1. tense correction.
2. all clock time value is returned in nanoseconds, so, they are same in
precision.
3. virtual clock doesn't use cpu cycles.
Cc: Paolo Bonzini
Cc: Peter Maydell
Signed-off-by: Cao jin
Signed-off-by:
From: Laurent Vivier
This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci
CC: Laszlo Ersek
Signed-off-by: Laurent Vivier
Reviewed-by: Laszlo Ersek
Signed-off-by: Michael Tokarev
---
hw/nvram/fw_cfg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
On Wed, Sep 14, 2016 at 05:15:03PM +1000, David Gibson wrote:
[...]
> Peter suggested commenting this next to the IOTLBEntry definition, and
> I think that's probably ok for now.
Looks like we have something already (just not that obvious):
/**
* memory_region_notify_iommu: notify a change in
Intel vIOMMU is still lacking of a complete IOMMU notifier mechanism.
Before that is achieved, let's open a door for vhost DMAR support, which
only requires cache invalidations (UNMAP operations).
Meanwhile, converting hw_error() to error_report() and exit(1), to make
the error messages clean and
From: Thomas Huth
get_maintainer.pl now properly recognizes that the file in
include/hw/unicore32/ belongs to UniCore32.
Signed-off-by: Thomas Huth
Acked-by: Guan Xuetao
Signed-off-by: Michael Tokarev
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINE
From: Thomas Huth
This header seems to belong to the guest CPU section since it
contains prototypes for cpus.c.
Signed-off-by: Thomas Huth
Signed-off-by: Michael Tokarev
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3d3098c..635ca77 100644
On Tue, Sep 13, 2016 at 08:36:25PM +0200, Lluís Vilanova wrote:
> Daniel P Berrange writes:
>
> > On Thu, Sep 08, 2016 at 03:23:26PM +0200, Lluís Vilanova wrote:
> >> Daniel P Berrange writes:
> >>
> >> > I previously split the global trace-events file up into one file
> >> > per-subdirectory to
From: Thomas Huth
In the QEMU monitor pane of the gtk user interface, the backspace
key is not working at all. This happens because of a missing mapping
of the key in the qcode_to_keysym[] table. Thus let's add an entry
there to get the backspace key working again.
Buglink: https://bugs.launchpa
From: Markus Armbruster
include/hw/xilinx.h is gone since commit d5001cf, drop.
include/hw/*/xlnx*.c is a typo, change .c to .h.
include/hw/acpi/piix.h is a typo, change piix.h to piix4.h.
hw/i386/*dsl and scripts/acpi*py are gone since since commit 9fc6502,
drop.
hw/virtio/dataplane/* are go
On Tue, Sep 13, 2016 at 07:00:44PM -0300, Eduardo Habkost wrote:
> (CCing Daniel Berrange in case he has feedback on the
> nonce/dh_pub_qx/dh_pub_qy loading/parsing at the end of this
> message)
>
> On Tue, Sep 13, 2016 at 02:54:40PM -0500, Brijesh Singh wrote:
> > Hi Eduardo,
> >
> > On 09/13/20
(Note: we still have pending discussions on how IOMMU notifier
interface should be, assuming that is not a blocker for posting v5 of
this one)
V5:
- squash spapr_tce_notify_{started|stopped} into
spapr_tce_notify_flag_changed [David]
- in spapr_tce_notify_flag_changed: check flags against "!=
From: Md Haris Iqbal
Signed-off-by: Md Haris Iqbal
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Michael Tokarev
---
linux-user/qemu.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index bef465d..815447f 100644
--- a/linux-user/qem
On 14/09/2016, 03:07, "Gonglei (Arei)" wrote:
>Hi Ola,
>
>
>
>> -Original Message-
>> From: Ola Liljedahl [mailto:ola.liljed...@arm.com]
>> Sent: Tuesday, September 13, 2016 7:53 PM
>> To: Paolo Bonzini; Daniel P. Berrange; Gonglei (Arei)
>> Cc: qemu-devel@nongnu.org; virtio-...@lists.oa
IOMMU Notifier list is used for notifying IO address mapping changes.
Currently VFIO is the only user.
However it is possible that future consumer like vhost would like to
only listen to part of its notifications (e.g., cache invalidations).
This patch introduced IOMMUNotifier and IOMMUNotfierFla
From: Cao jin
The returned value of cpu_get_clock() is plused with the offset,
so it is the time elapsed in virtual machine when vm is active.
Cc: Paolo Bonzini
Cc Peter Crosthwaite
Cc: Richard Henderson
Signed-off-by: Cao jin
Signed-off-by: Michael Tokarev
---
cpus.c | 5 +++--
1 file ch
From: Thomas Huth
get_maintainer.pl now properly recognizes that the file in
include/hw/tricore/ belongs to TriCore.
Signed-off-by: Thomas Huth
Reviewed-by: Bastian Koppelmann
Signed-off-by: Michael Tokarev
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAI
The new interface can be used to replace the old notify_started() and
notify_stopped(). Meanwhile it provides explicit flags so that IOMMUs
can know what kind of notifications it is requested for.
Signed-off-by: Peter Xu
---
hw/i386/intel_iommu.c | 6 --
hw/ppc/spapr_iommu.c | 18 +
On Wed, Sep 14, 2016 at 12:41:59AM +0200, Paolo Bonzini wrote:
>
>
> On 13/09/2016 16:47, Brijesh Singh wrote:
> > The patch adds '-sev' option to enable the Secure Encrypted
> > Virtualization (SEV) guest. If this option is specified, Qemu
> > assumes that user wants to launch this guest into SE
On Wed, Sep 14, 2016 at 02:09:03AM -0400, Wei Huang wrote:
> CPU vPMU is now turned off by default, but it was ON in virt-2.7
> machine type. To solve this problem, this patch adds a PMU option
> in machine state, which is used to control CPU's vPMU status. This
> PMU option is not exposed to comma
From: Laurent Vivier
Script from LKML.
Signed-off-by: Laurent Vivier
Signed-off-by: Michael Tokarev
---
scripts/coccinelle/typecast.cocci | 7 +++
1 file changed, 7 insertions(+)
create mode 100644 scripts/coccinelle/typecast.cocci
diff --git a/scripts/coccinelle/typecast.cocci
b/scrip
From: Thomas Huth
get_maintainer.pl currently thinks that the scsi headers are
currrently unmaintained. So let's fix the corresponding wildcard
expression.
Signed-off-by: Thomas Huth
Acked-by: Paolo Bonzini
Signed-off-by: Michael Tokarev
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+)
From: Laurent Vivier
This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci
CC: Riku Voipio
CC: Alexander Graf
Signed-off-by: Laurent Vivier
Signed-off-by: Michael Tokarev
---
linux-user/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/li
On Wed, Sep 14, 2016 at 10:37:19AM +0200, Andrew Jones wrote:
> On Wed, Sep 14, 2016 at 02:09:03AM -0400, Wei Huang wrote:
> > CPU vPMU is now turned off by default, but it was ON in virt-2.7
> > machine type. To solve this problem, this patch adds a PMU option
> > in machine state, which is used t
On Tue, Sep 13, 2016 at 10:47:47AM -0400, Brijesh Singh wrote:
> This patch adds the initial support required to integrate Secure
> Encrypted Virtualization feature, the patch include the following
> changes:
>
> - adds sev.c and sev.h files: the file will contain SEV APIs implemention.
> - add kv
On 14/09/2016 03:11, Richard Henderson wrote:
> On 09/13/2016 04:21 PM, Paolo Bonzini wrote:
>>
>>
>> On 13/09/2016 22:57, Richard Henderson wrote:
>>> -#if defined(CONFIG_AVX2_OPT) || (defined(CONFIG_CPUID_H) &&
>>> defined(__SSE2__))
>>> -#include
>>> -
>>> +#if (defined(CONFIG_AVX2_OPT) && de
On 14/09/2016 04:28, Michael S. Tsirkin wrote:
> On Tue, Sep 13, 2016 at 10:48:27AM -0400, Brijesh Singh wrote:
>> The SEV DEBUG_DECRYPT command is used for decrypting a guest memory
>> for the debugging purposes. Note that debugging is permitting only
>> when guest policy allows it.
>
> When wo
On 14/09/2016 04:33, Michael S. Tsirkin wrote:
> Frankly I don't understand why do you need to mess with boot at all.
> Quoting the cover letter:
>
> SEV is designed to protect guest VMs from a benign but vulnerable
> (i.e. not fully malicious) hypervisor. In particular, it reduces t
On 14/09/2016 09:33, Michael Tokarev wrote:
> Is this (quite old) patch still relevant?
Yes, I think it's a nice cleanup. The interesting bit is that it
expands nbits exactly once.
Paolo
> Thanks,
>
> /mjt
>
> 05.03.2016 16:47, Wei Yang wrote:
>> According to linux kernel commit <89c1e79eb3
On Wed, 14 Sep 2016 13:22:40 +1000
David Gibson wrote:
> On Tue, Sep 13, 2016 at 02:52:45PM +0200, Laurent Vivier wrote:
> > Add a first test to validate the protocol:
> >
> > - rtas/get-time-of-day compares the time
> > from the guest with the time from the host.
> >
> > Signed-off-by: Laure
On 14/09/2016 09:55, Herongguang (Stephen) wrote:
> Hi,
> We found a problem that when a redhat 6 VM reboots (in grub countdown
> UI), migrating this VM will result in VM’s memory difference between
> source and destination side. The difference always resides in GPA
> 0xA~0xC, i.e. SMRAM
On Wed, 14 Sep 2016 13:23:37 +1000
David Gibson wrote:
> On Tue, Sep 13, 2016 at 02:52:42PM +0200, Laurent Vivier wrote:
> > This series allows to call RTAS commands from the qtest framework,
> > and defines a first test to call RTAS command "get-time-of-day"
> > to validate the protocol and test
It is equivalent to memory_region_destructor_ram, use that one.
Signed-off-by: Paolo Bonzini
---
memory.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/memory.c b/memory.c
index 0eb6895..5ed3872 100644
--- a/memory.c
+++ b/memory.c
@@ -943,10 +943,6 @@ static void memo
On 14/09/2016 10:41, Daniel P. Berrange wrote:
>> > Any reason not to pass the sev options themselves through -sev? You can
>> > then use "-readconfig sev-guest.cfg" where sev-guest.cfg contains
>> >
>> >[sev]
>> >type="encrypted"
>> >flags = ""
>> >policy = "00"
>>
It cannot guarantee all pci devices will free the allocated resource in
its .realize function on realize failure.
CC: Michael S. Tsirkin
CC: Marcel Apfelbaum
Signed-off-by: Cao jin
---
I found not all the devices will free the allocated resources on .realize
failure, and .exit function is the
From: Cao jin
The function actually returns monotonic time value in nanosecond,
the "ticks" is not suitable.
Cc: Paolo Bonzini
Cc Peter Crosthwaite
Cc: Richard Henderson
Signed-off-by: Cao jin
Signed-off-by: Michael Tokarev
---
cpus.c | 8
1 file changed, 4 insertions(+), 4 delet
From: Reda Sallahi
The page that was previously linked in the source code and the README file is
no longer available so it now returns a 404 error message.
This puts a previous snapshot from archive.org instead.
Signed-off-by: Reda Sallahi
Acked-by: Aurelien Jarno
Signed-off-by: Michael Tokar
From: Colin Lord
Updates the help messages to remove misleading information about SDL
being the normal display used.
Signed-off-by: Colin Lord
Reviewed-by: Markus Armbruster
Signed-off-by: Michael Tokarev
---
qemu-options.hx | 38 +-
1 file changed, 21 ins
From: Laurent Vivier
This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci
CC: Hitoshi Mitake
CC: qemu-bl...@nongnu.org
Signed-off-by: Laurent Vivier
Reviewed-by: Hitoshi Mitake
Signed-off-by: Michael Tokarev
---
block/sheepdog.c | 4 ++--
1 file changed, 2 inserti
From: Ladi Prosek
Unused function declarations were found using a simple gcc plugin and
manually verified by grepping the sources.
Signed-off-by: Ladi Prosek
Signed-off-by: Michael Tokarev
---
block/qcow2.h | 1 -
disas/sh4.c| 6 --
hw/ppc/ppc405.h
The companion descriptor is present on all usb3 devices, not only
those with streams support. We need to check attributes to see
whenever the device uses streams or not.
Signed-off-by: Gerd Hoffmann
Message-id: 1473406890-30164-1-git-send-email-kra...@redhat.com
---
hw/usb/host-libusb.c | 7 +++
From: Isaac Lozano <109loza...@gmail.com>
Windows uses object properties to determine the size of a file, so to
add object properties, we must also add a minimum set of new commands
and object properties. Most object properties are data that we already
have, except for the unique persistant object
yland/tags/qemu-openbios-signed'
into staging (2016-09-12 15:09:47 +0100)
are available in the git repository at:
git://git.kraxel.org/qemu tags/pull-usb-20160914-1
for you to fetch changes up to 67f3ef0c7a149a4e92b877375f771e065ae58651:
usb-mtp: added object properties (2016-09-14 11:1
From: Hans Petter Selasky
Previously the code would incorrectly report the remainder as 8 bytes. A
remainder of 0 bytes should be reported when the SETUP packet is
successfully transferred. Found using FreeBSD's XHCI driver.
Signed-off-by: Hans Petter Selasky
[ kraxel: codestyle fixup ]
Signe
From: Li Qiang
If the xhci uses msix, it doesn't free the corresponding
memory, thus leading a memory leak. This patch avoid this.
Signed-off-by: Li Qiang
Message-id: 57d7d2e0.d4301c0a.d13e9.9...@mx.google.com
Signed-off-by: Gerd Hoffmann
---
hw/usb/hcd-xhci.c | 3 +--
1 file changed, 1 inser
From: Isaac Lozano <109loza...@gmail.com>
MTP requires that if a file is larger than 4gb or if sending data larger
than 4gb, that the length field be set to 0x.
Also widened a couple variables to prevent overflow errors.
Signed-off-by: Isaac Lozano <109loza...@gmail.com>
Message-id:
01a
On 14/09/16 09:29, Michael Roth wrote:
> Quoting Alexey Kardashevskiy (2016-07-27 03:03:38)
>> This adds a numa id property to a PHB to allow linking passed PCI device
>> to CPU/memory. It is up to the management stack to do CPU/memory pinning
>> to the node with the actual PCI device.
>
> It look
** Also affects: qemu (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: qemu (Ubuntu Xenial)
Status: New => Triaged
** Changed in: qemu (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: qemu (Ubuntu)
Status: Triaged => Fix Released
--
You re
From: Prasad J Pandit
Vmware Paravirtual SCSI emulator while processing IO requests
could run into an infinite loop if 'pvscsi_ring_pop_req_descr'
always returned positive value. Limit IO loop to the ring size.
Reported-by: Li Qiang
Signed-off-by: Prasad J Pandit
---
hw/scsi/vmw_pvscsi.c | 5
Make sure reset zeroes TSC_AUX, XCR0, PKRU. Move XSTATE_BV from the
"vmstate only" section to the "KVM only" section.
Signed-off-by: Paolo Bonzini
---
target-i386/cpu.h | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index b
Computing TranslationBlock flags is pretty expensive on ARM, especially
32-bit. Because tbflags are computed on every tb lookup, it is not
unlikely to see cpu_get_tb_cpu_state close to the top of the profile
now that QHT makes the hash table much more efficient.
However, most tbflags only change
Finally, this patch makes most flags static. The only remaining
dynamic flags (only used in aarch32 mode) are for Thumb mode and
conditional execution. These are modified more often than the
others, and are cheap therefore they are looked up directly from
env on every TB lookup.
Signed-off-by: P
For now, this just moves computation of the TranslationBlock flags to a
separate function. Later on, dynamic flags will be distinct from static
flags in that static flags need not be recomputed on every
TranslationBlock lookup; hence the name of the function.
Signed-off-by: Paolo Bonzini
---
ta
On 14/09/2016 11:39, P J P wrote:
> From: Prasad J Pandit
>
> Vmware Paravirtual SCSI emulator while processing IO requests
> could run into an infinite loop if 'pvscsi_ring_pop_req_descr'
> always returned positive value. Limit IO loop to the ring size.
>
> Reported-by: Li Qiang
> Signed-off
fixes mistakes made by:
targte-i386: Add virtual L3 cache support
https://www.mail-archive.com/qemu-devel@nongnu.org/msg395418.html
Igor Mammedov (2):
pc: fix regression introduced by adding 2.8 machine
target-i386: turn off CPU.l3-cache only for 2.7 and older machine
types
include/hw
Computing TranslationBlock flags is pretty expensive on ARM, especially
32-bit. In order to limit the cost we want to cache as many of them
as possible. Therefore, the flags are split in two parts. Static flags
come directly from a new CPUARMState field env->tbflags, and are updated
whenever EL
Signed-off-by: Paolo Bonzini
---
hw/arm/nseries.c | 3 +--
hw/bt/hci-csr.c | 2 +-
include/hw/bt.h | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c
index fea911e..c86cf80 100644
--- a/hw/arm/nseries.c
+++ b/hw/arm/nseries.c
@@ -786,8 +78
commit (a4d3c834 pc: Add 2.8 machine) didn't ammend
PC_COMPAT_2_6 to include PC_COMPAT_2_7 which results in
{\
.driver = "virtio-pci",\
.property = "page-per-vq",\
.value= "on",\
},
and
{\
.driver = TYPE_X86_CPU,\
.property = "l3-cache"
commit (14c985cff target-i386: present virtual L3 cache info for vcpus)
misplaced compat property putting it in new 2.8 machine type
which would effectively to disable feature until 2.9 is released.
Intent of commit probably should be to disable feature for 2.7
and older while allowing not yet rele
On Wed, 14 Sep 2016 11:06:34 +0200
Paolo Bonzini wrote:
> It is equivalent to memory_region_destructor_ram, use that one.
>
> Signed-off-by: Paolo Bonzini
Reviewed-by: Igor Mammedov
> ---
> memory.c | 6 +-
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/memory.c b/mem
Richard Henderson writes:
> Allow qemu to build on 32-bit hosts without 64-bit atomic ops.
>
> Even if we only allow 32-bit hosts to multi-thread emulate 32-bit
> guests, we still need some way to handle the 32-bit guest using a
> 64-bit atomic operation. Do so by dropping back to single-step.
On Tue, Sep 13, 2016 at 10:38 AM, Peter Xu wrote:
> On Mon, Sep 12, 2016 at 03:45:48PM +0300, David Kiarie wrote:
> > > When we say cache here, we are mostly talking about GSI routes in
> > > kernel, right? Since we still don't have other kind of interrupt
> > > caches AFAIK. If so, GSI routes sh
Hi,
Your series failed automatic build test. Please find the testing commands and
their output below. If you have docker installed, you can probably reproduce it
locally.
Type: series
Message-id: 1473843994-16004-1-git-send-email-pbonz...@redhat.com
Subject: [Qemu-devel] [PATCH] memory: remove me
1 - 100 of 435 matches
Mail list logo