Trivial patches for 2015-04-04
Here's a very small trivial-patches pull request for the upcoming 2.3 release. There's nothing urgent here, so things can wait past 2.3, but these things are also safe. Only one "questionable" code change is the removal of TARGET_HAS_SMC macro, but it was applied long ago (to -trivial) and it looks safe too.
Please consider pulling/applying.
Thanks,
/mjt
The following changes since commit f2155a089600e80cf7bcdc814520ef3304882cc4:
Update version for v2.3.0-rc2 release (2015-04-02 18:02:02 +0100)
are available in the git repository at:
git://git.corpit.ru/qemu.git tags/pull-trivial-patches-2015-04-04
for you to fetch changes up to 9be6e69f12bc65e9c43ee5b8eb026412f11b8b71:
vhost: fix typo in vq_index description (2015-04-04 09:48:19 +0300)
----------------------------------------------------------------
trivial patches for 2015-04-04
----------------------------------------------------------------
Emilio G. Cota (1):
target-i386: remove superfluous TARGET_HAS_SMC macro
Eric Blake (1):
gitignore: Ignore more .pod files.
Greg Kurz (1):
vhost: fix typo in vq_index description
Jan Kiszka (1):
pcspk: Fix I/O port name
Stefan Weil (1):
target-tricore: Fix check which was always false
.gitignore | 10 ++-------- hw/audio/pcspk.c | 2 +- include/hw/virtio/vhost.h | 2 +- target-i386/cpu.h | 2 -- target-tricore/op_helper.c | 2 +- translate-all.c | 4 ---- 6 files changed, 5 insertions(+), 17 deletions(-)
[Qemu-devel] [PULL 4/5] gitignore: Ignore more .pod files.
From: Eric Blake <[email protected]>
kvm_stat.{1,pod} started showing up as untracked files in my directory, and I nearly accidentally merged them into a commit with my usual habit of 'git add .'. Rather than spelling out each such file, just ignore the entire pattern.
--- .gitignore | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
.gitignore +2 -8
@@ -37,14 +37,8 @@ /qemu-tech.html /qemu-doc.info /qemu-tech.info -/qemu.1 -/qemu.pod -/qemu-img.1 -/qemu-img.pod /qemu-img /qemu-nbd -/qemu-nbd.8 -/qemu-nbd.pod /qemu-options.def /qemu-options.texi /qemu-img-cmds.texi
@@ -56,8 +50,7 @@ /qmp-commands.txt /vscclient /fsdev/virtfs-proxy-helper -/fsdev/virtfs-proxy-helper.1 -/fsdev/virtfs-proxy-helper.pod +*.[1-9] *.a *.aux *.cp
@@ -70,6 +63,7 @@ *.ky *.log *.pdf +*.pod *.cps *.fns *.kys
Signature · 1 line
2.1.4
[Qemu-devel] [PULL 2/5] target-i386: remove superfluous TARGET_HAS_SMC macro
In reply to Michael TokarevFrom: "Emilio G. Cota" <[email protected]>
--- target-i386/cpu.h | 2 -- translate-all.c | 4 ---- 2 files changed, 6 deletions(-)
target-i386/cpu.h +0 -2
@@ -31,8 +31,6 @@/* Maximum instruction code size */ #define TARGET_MAX_INSN_SIZE 16 -/* target supports implicit self modifying code */ -#define TARGET_HAS_SMC /* support for self modifying code even if the modified instruction is close to the modifying instruction */ #define TARGET_HAS_PRECISE_SMC
translate-all.c +0 -4
@@ -1334,8 +1334,6 @@ static inline void tb_alloc_page(TranslationBlock *tb, p->first_tb = (TranslationBlock *)((uintptr_t )tb | n);invalidate_page_bitmap (p); -#if defined(TARGET_HAS_SMC) || 1 -#if defined(CONFIG_USER_ONLY )if (p->flags &PAGE_WRITE ) {target_ulong addr;
@@ -1371,8 +1369,6 @@ static inline void tb_alloc_page(TranslationBlock *tb, tlb_protect_code(page_addr); }#endif - -#endif /* TARGET_HAS_SMC */ }/* add a new TB and link it to the physical page tables. phys_page2 is
Signature · 1 line
2.1.4
[Qemu-devel] [PULL 3/5] target-tricore: Fix check which was always false
In reply to Michael TokarevFrom: Stefan Weil <[email protected]>
With a mask value of 0x00400000, the result will never be 1. This fixes a Coverity warning.
--- target-tricore/op_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-tricore/op_helper.c +1 -1
@@ -2573,7 +2573,7 @@ void helper_rslcx(CPUTriCoreState *env)/* CSU trap */ }/* if (PCXI.UL == 1) then trap(CTYP); */ -if ((env->PCXI &MASK_PCXI_UL ) ==1 ) { +if ((env->PCXI &MASK_PCXI_UL ) !=0 ) {/* CTYP trap */ }/* EA = {PCXI.PCXS, 6'b0, PCXI.PCXO, 6'b0}; */
Signature · 1 line
2.1.4
[Qemu-devel] [PULL 1/5] pcspk: Fix I/O port name
In reply to Michael TokarevFrom: Jan Kiszka <[email protected]>
Probably a copy&paste bug. Fixing it helps identifying the device model behind port 0x61.
--- hw/audio/pcspk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/audio/pcspk.c +1 -1
@@ -167,7 +167,7 @@ static void pcspk_initfn(Object *obj) {PCSpkState *s =PC_SPEAKER (obj); -memory_region_init_io (&s->ioport,OBJECT (s), &pcspk_io_ops, s,"elcr" ,1 ); +memory_region_init_io (&s->ioport,OBJECT (s), &pcspk_io_ops, s,"pcspk" ,1 ); }static void pcspk_realizefn (DeviceState *dev,Error **errp)
Signature · 1 line
2.1.4
[Qemu-devel] [PULL 5/5] vhost: fix typo in vq_index description
In reply to Michael TokarevFrom: Greg Kurz <[email protected]>
--- include/hw/virtio/vhost.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/virtio/vhost.h +1 -1
@@ -36,7 +36,7 @@ struct vhost_dev {MemoryRegionSection *mem_sections;struct vhost_virtqueue *vqs;int nvqs; -/* the first virtuque which would be used by this vhost dev */ +/* the first virtqueue which would be used by this vhost dev */ int vq_index;unsigned long long features;unsigned long long acked_features;
Signature · 1 line
2.1.4
Quoted 7 lines · Michael Tokarev
Here's a very small trivial-patches pull request for the upcoming 2.3 release. There's nothing urgent here, so things can wait past 2.3, but these things are also safe. Only one "questionable" code change is the removal of
TARGET_HAS_SMCmacro, but it was applied long ago (to -trivial) and it looks safe too.Please consider pulling/applying.
I looked at the diffs here and agree that they're safe, so I've applied this to master.
thanks
-- PMM