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