My QEMU builds
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Milan Meduna d02bb18906 install_new_qemu-mm-FIX 9 months ago
accel kvm: Reallocate dirty_bmap when we change a slot 10 months ago
audio audio/oss: fix buffer pos calculation 10 months ago
authz Include qemu/module.h where needed, drop it from qemu-common.h 2 years ago
backends hostmem: don't use mbind() if host-nodes is empty 10 months ago
block vpc: Don't round up already aligned BAT sizes 10 months ago
bsd-user *-user: plugin syscalls 1 year ago
capstone@22ead3e0bf disas: Add capstone as submodule 4 years ago
chardev socket: Add num connections to qio_net_listener_open_sync() 2 years ago
contrib vhost-user-gpu: Drop trailing json comma 10 months ago
crypto crypto: add support for nettle's native XTS impl 1 year ago
default-configs Add Macintosh Quadra 800 machine in hw/m68k 1 year ago
disas cris: do not leak struct cris_disasm_data 2 years ago
docs qcow2: List autoclear bit names in header 10 months ago
dtc@88f18909db Update dtc/libfdt submodule to v1.4.7 3 years ago
dump dump: Fix writing of ELF section 10 months ago
fpu softfp: Added hardfloat conversion from float32 to float64 1 year ago
fsdev 9p: Added virtfs option 'multidevs=remap|forbid|warn' 2 years ago
gdb-xml target/riscv: Expose "priv" register for GDB for reads 1 year ago
hw Fix tulip breakage 10 months ago
include block: Add bdrv_qapi_perm_to_blk_perm() 10 months ago
io socket: Add num connections to qio_net_listener_open_sync() 2 years ago
libdecnumber build: remove CONFIG_LIBDECNUMBER 4 years ago
linux-headers linux headers: update against v5.4-rc1 2 years ago
linux-user linux-user: fix translation of statx structures 1 year ago
migration migration/ram: fix use after free of local_err 10 months ago
monitor hmp/vnc: Fix info vnc list leak 10 months ago
nbd nbd/server: Avoid long error message assertions CVE-2020-10761 10 months ago
net net: Do not include a newline in the id of -nic devices 10 months ago
pc-bios pc-bios: s390x: Save iplb location in lowcore 10 months ago
plugins plugins/core: add missing break in cb_to_tcg_flags 11 months ago
po ui/gtk: fix gettext message's charset. 1 year ago
python/qemu Python libs: close console sockets before shutting down the VMs 1 year ago
qapi blkdebug: Allow taking/unsharing permissions 10 months ago
qga qemu-ga: document vsock-listen in the man page 10 months ago
qobject json: Move switch 'fall through' comment to correct place 2 years ago
qom qom: Fix error message in object_class_property_add() 1 year ago
replay replay: add BH oneshot event for block layer 2 years ago
roms after_configure_and_make 9 months ago
scripts vmstate-static-checker: Fix for current python 1 year ago
scsi scsi/qemu-pr-helper: Fix out-of-bounds access to trnptid_list[] 10 months ago
slirp@2faae0f778 slirp: update to fix CVE-2020-1983 10 months ago
stubs hw/pci-host/piix: Move i440FX declarations to hw/pci-host/i440fx.h 1 year ago
target target/xtensa: fix pasto in pfwait.r opcode name 10 months ago
tcg tcg/mips: mips sync* encode error 10 months ago
tests iotests/283: Use consistent size for source and target 10 months ago
trace trace: add mmu_index to mem_info 1 year ago
ui Revert "vnc: allow fall back to RAW encoding" 10 months ago
util Fix double free issue in qemu_set_log_filename(). 10 months ago
x86_64-softmmu after_configure_and_make 9 months ago
.cirrus.yml cirrus.yml: add latest Xcode build target 1 year ago
.dir-locals.el Add .dir-locals.el file to configure emacs coding style 6 years ago
.editorconfig editorconfig: add setting for shell scripts 2 years ago
.exrc qemu: add .exrc 9 years ago
.gdbinit .gdbinit: load QEMU sub-commands when gdb starts 4 years ago
.gitignore build: Don't ignore qapi-visit-core.c 2 years ago
.gitlab-ci.yml gitlab-ci.yml: Use libvdeplug-dev to compile-test the VDE network backend 1 year ago
.gitmodules roms: add microvm-bios (qboot) as binary and git submodule 1 year ago
.gitpublish Add a git-publish configuration file 3 years ago
.mailmap MAINTAINERS: Update mail address of Aleksandar Rikalo 1 year ago
.patchew.yml ci: store Patchew configuration in the tree 2 years ago
.shippable.yml tests/docker: set HOST_ARCH if we don't have ARCH 1 year ago
.travis.yml .travis.yml: drop xcode9.4 from build matrix 1 year ago
CODING_STYLE.rst docs: split the CODING_STYLE doc into distinct groups 2 years ago
COPYING COPYING: update from FSF 13 years ago
COPYING.LIB COPYING.LIB: Synchronize the LGPL 2.1 with the version from gnu.org 2 years ago
Changelog Use HTTPS for qemu.org and other domains 3 years ago
Kconfig.host 9p: simplify source file selection 2 years ago
LICENSE tcg/LICENSE: Remove out of date claim about TCG subdirectory licensing 1 year ago
MAINTAINERS docs/devel: rename plugins.rst to tcg-plugins.rst 1 year ago
Makefile Trivial fixes (20191112) 1 year ago
Makefile.objs hw: Move PL031 device from hw/timer/ to hw/rtc/ subdirectory 1 year ago
Makefile.target TCG Plugins initial implementation 1 year ago
README.md Aktualizovat „README.md“ 9 months ago
README.rst docs: merge HACKING.rst contents into CODING_STYLE.rst 2 years ago
VERSION Update version for 4.2.1 release 10 months ago
arch_init.c hw/m68k: add Nubus macfb video card 1 year ago
balloon.c Clean up inclusion of exec/cpu-common.h 2 years ago
block.c block: bdrv_set_backing_bs: fix use-after-free 10 months ago
blockdev-nbd.c nbd: Don't send oversize strings 1 year ago
blockdev.c block: Add @exact parameter to bdrv_co_truncate() 1 year ago
blockjob.c job: refactor progress to separate object 10 months ago
bootdevice.c bootdevice: FW_CFG interface for LCHS values 1 year ago
bt-host.c all: Clean up includes 5 years ago
bt-vhci.c Include qemu-common.h exactly where needed 2 years ago
configure configure: Check bzip2 is available 1 year ago
cpus-common.c cpu: introduce cpu_in_exclusive_context() 1 year ago
cpus.c cpu: hook plugin vcpu events 1 year ago
device-hotplug.c Include hw/hw.h exactly where needed 2 years ago
device_tree.c device_tree: Fix integer overflowing in load_device_tree() 2 years ago
disas.c plugin: add qemu_plugin_insn_disas helper 1 year ago
dma-helpers.c dma-helpers: ensure AIO callback is invoked after cancellation 2 years ago
exec-vary.c exec: Cache TARGET_PAGE_MASK for TARGET_PAGE_BITS_VARY 1 year ago
exec.c TCG Plugins initial implementation 1 year ago
gdbstub.c gdbstub: Fix handler for 'F' packet 2 years ago
gitdm.config contrib: gitdm: add a mapping for Janus Technologies 2 years ago
hmp-commands-info.hx riscv: hmp: Add a command to show virtual memory mappings 2 years ago
hmp-commands.hx audio: add audiodev property to vnc and wav_capture 2 years ago
install_new_qemu-mm install_new_qemu-mm-FIX 9 months ago
ioport.c Include qemu-common.h exactly where needed 2 years ago
iothread.c iothread: document about why we need explicit aio_poll() 2 years ago
job-qmp.c job: refactor progress to separate object 10 months ago
job.c job: refactor progress to separate object 10 months ago
memory.c Remove unassigned_access CPU hook 1 year ago
memory_ldst.inc.c memory: Single byte swap along the I/O path 2 years ago
memory_mapping.c Include qemu-common.h exactly where needed 2 years ago
module-common.c all: Clean up includes 5 years ago
os-posix.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2 years ago
os-win32.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2 years ago
qdev-monitor.c migration: allow unplug during migration for failover devices 1 year ago
qemu-bridge-helper.c qemu-bridge-helper: move repeating code in parse_acl_file 2 years ago
qemu-deprecated.texi i386: Resolve CPU models to v1 by default 11 months ago
qemu-doc.texi buildfix: update texinfo menu 1 year ago
qemu-edid.c Include qemu-common.h exactly where needed 2 years ago
qemu-img-cmds.hx qemu-img: Add salvaging mode to convert 2 years ago
qemu-img.c job: refactor progress to separate object 10 months ago
qemu-img.texi doc: Preallocation does not require writing zeroes 2 years ago
qemu-io-cmds.c block: Pass truncate exact=true where reasonable 1 year ago
qemu-io.c qemu-io: Support help options for --object 2 years ago
qemu-keymap.c Include qemu-common.h exactly where needed 2 years ago
qemu-nbd.c qemu-nbd: Close inherited stderr 10 months ago
qemu-nbd.texi qemu-nbd: Add --pid-file option 2 years ago
qemu-option-trace.texi qemu-option-trace: -trace enable= is a pattern, not a file 3 years ago
qemu-options-wrapper.h qemu-img: remove references to GEN_DOCS 3 years ago
qemu-options.h Clean up ill-advised or unusual header guards 5 years ago
qemu-options.hx Revert "qemu-options.hx: Update for reboot-timeout parameter" 10 months ago
qemu-seccomp.c seccomp: report more useful errors from seccomp 2 years ago
qemu-tech.texi qemu-tech: Fix dangling @menu entries 2 years ago
qemu.nsi win32: fix README file in NSIS installer 2 years ago
qemu.sasl Default to GSSAPI (Kerberos) instead of DIGEST-MD5 for SASL 4 years ago
qtest.c tests: add module loading test 2 years ago
replication.c replication: Introduce new APIs to do replication operation 5 years ago
replication.h Include qemu/module.h where needed, drop it from qemu-common.h 2 years ago
rules.mak contrib: add vhost-user-gpu 2 years ago
thunk.c thunk: improve readability of allocation loop 2 years ago
tpm.c tpm: Clean up error reporting in tpm_init_tpmdev() 3 years ago
trace-events trace: add mmu_index to mem_info 1 year ago
version.rc Use HTTPS for qemu.org and other domains 3 years ago
vl.c runstate: ignore finishmigrate -> prelaunch transition 10 months ago

README.md

My qemu builds and simple script to install it on ubuntu 18.04(maybe works on Disco, Eoan, Focal, etc)

install_new_qemu-mm -> install new qemu binary and allow it in apparmor

You must set the path in libvirt domain configuration to the correct QEMU binary:

<devices>
...
<emulator>/usr/local/bin/qemu4.2-system-x86_64</emulator>
...
</devices>

The path you're replacing probably was /usr/bin/kvm-spice or /usr/bin/kvm, but it is actually the QEMU binary and has nothing to do with the spice display. It's just how its named on Ubuntu.

Only steps, what i do is:

git clone https://github.com/qemu/qemu.git
mv qemu qemu-builds-mm
cd qemu-builds-mm
git checkout stable-4.2
git submodule init
git submodule update --recursive
apt install build-dep qemu
./configure --target-list=x86_64-softmmu --audio-drv-list=alsa,pa
make
git remote set-url origin https://git.my-web.xyz/milan/qemu-builds-mm.git
git add x86_64-softmmu -f
git commit -m after_configure_and_make
git push

Make install_new_qemu-mm and README.md

THE PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW THE AUTHOR WILL BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.