/qemu/ |
H A D | Makefile | 10 # Before including a proper config-host.mak, assume we are in the source tree 15 MAKEFLAGS += -rR 17 SHELL = bash -o pipefail 19 # Usage: $(call quiet-command,command and args,"NAME","args to print") 20 # This will run "command and args", and either: 21 # if V=1 just print the whole command and args 23 # NAME should be a short name of the command, 7 letters or fewer. 25 quiet-command-run = $(if $(V),,$(if $2,printf " %-7s %s\n" $2 $3 && ))$1 26 quiet-@ = $(if $(V),,@) 27 quiet-command = $(quiet-@)$(call quiet-command-run,$1,$2,$3) [all …]
|
H A D | hmp-commands.hx | 20 Show the help for all commands or just for command *cmd*. 27 .help = "commit changes to the disk images (if -snapshot is used) or backing files", 33 Commit changes to the disk images (if -snapshot is used) or backing files. 67 This command makes QEMU exit the preconfig state and proceed with 68 VM initialization using configuration data provided on the command line 69 and via the QMP monitor during the preconfig state. The command is only 70 available during the preconfig state (i.e. when the --preconfig command 88 but should be used with extreme caution. Note that this command only 122 .args_type = "force:-f,device:B", 123 .params = "[-f] device", [all …]
|
/qemu/docs/devel/migration/ |
H A D | CPR.rst | 5 VM is migrated to a new QEMU instance on the same host. It is 6 intended for use when the goal is to update host software components 7 that run the VM, such as QEMU or even the host kernel. At this time, 8 the cpr-reboot and cpr-transfer modes are available. 10 Because QEMU is restarted on the same host, with access to the same 18 cpr-reboot mode 19 --------------- 23 resumes by running QEMU with the ``-incoming`` option. Because the 31 After state and memory are saved, the user may update userland host 34 then the user may reboot to a new host kernel before restarting QEMU. [all …]
|
/qemu/qapi/ |
H A D | cxl.json | 1 # -*- Mode: Python -*- 32 # @cxl-inject-general-media-event: 42 # @flags: Event Record Flags. See CXL r3.0 Table 8-42 Common Event 46 # lower bits include some flags. See CXL r3.0 Table 8-43 General 50 # information. See CXL r3.0 Table 8-43 General Media Event 53 # @type: Type of memory event that occurred. See CXL r3.0 Table 8-43 57 # @transaction-type: Type of first transaction that caused the event 58 # to occur. See CXL r3.0 Table 8-43 General Media Event Record, 70 # @component-id: Device specific component identifier for the event. 71 # May describe a field replaceable sub-component of the device. [all …]
|
H A D | ui.json | 1 # -*- Mode: Python -*- 30 # @fail: fail the command if clients are connected 45 # - 'vnc' to modify the VNC server password 46 # - 'spice' to modify the Spice server password 82 # - If Spice is not enabled, DeviceNotFound 86 # .. qmp-example:: 88 # -> { "execute": "set_password", "arguments": { "protocol": "vnc", 90 # <- { "return": {} } 92 { 'command': 'set_password', 'boxed': true, 'data': 'SetPasswordOptions' } 100 # - 'vnc' to modify the VNC server expiration [all …]
|
H A D | run-state.json | 1 # -*- Mode: Python -*- 16 # @finish-migrate: guest is paused to finish the migration process 20 # the end of the migration. This depends on the command-line -S 24 # @internal-error: An internal error that prevents further guest 27 # @io-error: the last IOP has failed and the device is configured to 30 # @paused: guest has been paused via the 'stop' command 34 # @prelaunch: QEMU was started with -S and guest has not started 36 # @restore-vm: guest is paused to restore VM state 40 # @save-vm: guest is paused to save the VM state 42 # @shutdown: guest is shut down (and -no-shutdown is in use) [all …]
|
H A D | machine-s390x.json | 1 # -*- Mode: Python -*- 4 # SPDX-License-Identifier: GPL-2.0-or-later 6 # See the COPYING file in the top-level directory. 8 { 'include': 'machine-common.json' } 23 # @set-cpu-topology: 29 # @core-id: the vCPU ID to be moved 31 # @socket-id: destination socket to move the vCPU to 33 # @book-id: destination book to move the vCPU to 35 # @drawer-id: destination drawer to move the vCPU to 44 # @unstable: This command is experimental. [all …]
|
H A D | qom.json | 1 # -*- Mode: Python -*- 5 # See the COPYING file in the top-level directory. 8 { 'include': 'block-core.json' } 38 # @default-value: the default value, if any (since 5.0) 46 '*default-value': 'any' } } 49 # @qom-list: 51 # This command will list any properties of a object given a path in 54 # @path: the path within the object model. See @qom-get for a 62 # .. qmp-example:: 64 # -> { "execute": "qom-list", [all …]
|
/qemu/docs/ |
H A D | COLO-FT.txt | 1 COarse-grained LOck-stepping Virtual Machines for Non-stop Service 2 ---------------------------------------- 8 See the COPYING file in the top-level directory. 14 application-agnostic software-implemented hardware fault tolerance, 15 also known as "non-stop service". 17 COLO (COarse-grained LOck-stepping) is a high availability solution. 45 +------------+ +-----------------------+ +------------------------+ +------------+ 46 | | | HeartBeat +<----->+ HeartBeat | | | 47 | Primary VM | +-----------+-----------+ +-----------+------------+ |Secondary VM| 49 | | +-----------|-----------+ +-----------|------------+ | | [all …]
|
H A D | block-replication.txt | 2 ---------------------------------------- 8 See the COPYING file in the top-level directory. 11 for COLO (COarse-grain LOck-stepping) where the Secondary VM is running. 12 It can also be applied for FT/HA (Fault-tolerance/High Assurance) scenario, 30 +----------------------+ +------------------------+ 32 +----------------------+ +------------------------+ 36 | /-------------\ 38 |---------(1)----------+ | Disk Buffer | 40 | (3) \-------------/ 45 +--------------+ +----------------+ [all …]
|
H A D | bypass-iommu.txt | 10 passthrough devices with no-iommu mode and devices go through vIOMMU in 13 PCI host bridges have a bypass_iommu property. This property is used to 14 determine whether the devices attached on the PCI host bridge will bypass 17 bypass vIOMMU. When bypass_iommu property is not set for a host bridge, 22 The bypass iommu feature support PXB host bridge and default main host 31 qemu -device pxb-pcie,bus_nr=0x10,addr=0x1,bypass_iommu=true 32 (2) Arm default host bridge 33 qemu -machine virt,iommu=smmuv3,default_bus_bypass_iommu=true 35 qemu -machine q35,default_bus_bypass_iommu=true 37 2. Here is the detailed qemu command line for 'virt' machine with PXB on [all …]
|
/qemu/hw/scsi/ |
H A D | vmw_pvscsi.h | 4 * Copyright (C) 2008-2009, VMware, Inc. All Rights Reserved. 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 30 #define MASK(n) ((1 << (n)) - 1) /* make an n-bit mask */ 33 * host adapter status/error codes 51 /* the host adapter */ 52 BTSTAT_HAHARDWARE = 0x20, /* host adapter hardware failed */ 55 BTSTAT_SENTRST = 0x22, /* host adapter asserted a SCSI RST */ 59 BTSTAT_BUSRESET = 0x25, /* host adapter issued BUS device reset */ 61 BTSTAT_HASOFTWARE = 0x27, /* host adapter software error */ 62 BTSTAT_HATIMEOUT = 0x30, /* host adapter hardware timeout error */ [all …]
|
/qemu/docs/system/s390x/ |
H A D | cpu-topology.rst | 1 .. _cpu-topology-s390x: 8 tree-shaped hierarchy. 13 - CPU type 14 - entitlement 15 - dedication 17 Each bit set in the bitmap correspond to a core-id of a vCPU with matching 23 monitor polarization changes, see ``docs/devel/s390-cpu-topology.rst``. 26 ------------- 31 The s390x host needs to use a Linux kernel v6.0 or newer (which provides the so-called 33 CPU topology facility via the so-called STFLE bit 11 to the VM). [all …]
|
H A D | vfio-ap.rst | 7 ------------ 19 ------------------------- 28 on the machine model. Adapters assigned to the LPAR in which a linux host is 29 running will be available to the linux host. Each adapter is identified by a 51 An AP queue is the means by which an AP command-request message is sent to an 57 which the AP command-request message is to be sent for processing. 63 * NQAP: to enqueue an AP command-request message to a queue 64 * DQAP: to dequeue an AP command-reply message from a queue 68 command; this must be one of the usage domains. An AP command may modify a 73 ---------------------------------------------- [all …]
|
H A D | protvirt.rst | 12 ------------- 17 ``prot_virt=1`` on the host's kernel command line. 26 ----------------------------------- 30 ``unpack``/``S390_FEAT_UNPACK``), and add these options to the command line:: 32 -object s390-pv-guest,id=pv0 \ 33 -machine confidential-guest-support=pv0 43 Host huge page backings are not supported. However guests can use huge 48 ------------ 51 QEMU command line. Booting from disk is done by the unmodified 52 s390-ccw BIOS. I.e., the bootmap is interpreted, multiple components [all …]
|
/qemu/include/standard-headers/linux/ |
H A D | virtio_net.h | 28 #include "standard-headers/linux/types.h" 29 #include "standard-headers/linux/virtio_ids.h" 30 #include "standard-headers/linux/virtio_config.h" 31 #include "standard-headers/linux/virtio_types.h" 32 #include "standard-headers/linux/if_ether.h" 35 #define VIRTIO_NET_F_CSUM 0 /* Host handles pkts w/ partial csum */ 39 #define VIRTIO_NET_F_MAC 5 /* Host has given MAC address. */ 44 #define VIRTIO_NET_F_HOST_TSO4 11 /* Host can handle TSOv4 in. */ 45 #define VIRTIO_NET_F_HOST_TSO6 12 /* Host can handle TSOv6 in. */ 46 #define VIRTIO_NET_F_HOST_ECN 13 /* Host can handle TSO[6] w/ ECN in. */ [all …]
|
H A D | virtio_blk.h | 28 #include "standard-headers/linux/types.h" 29 #include "standard-headers/linux/virtio_ids.h" 30 #include "standard-headers/linux/virtio_config.h" 31 #include "standard-headers/linux/virtio_types.h" 37 #define VIRTIO_BLK_F_RO 5 /* Disk is read-only */ 48 #define VIRTIO_BLK_F_BARRIER 0 /* Does host support barriers? */ 49 #define VIRTIO_BLK_F_SCSI 7 /* Supports scsi command passthru */ 50 #define VIRTIO_BLK_F_FLUSH 9 /* Flush command supported */ 59 /* The capacity (in 512-byte sectors). */ 94 * The maximum discard sectors (in 512-byte sectors) for [all …]
|
/qemu/include/hw/sd/ |
H A D | allwinner-sdhost.h | 2 * Allwinner (sun4i and above) SD Host Controller emulation 32 /** Generic Allwinner SD Host Controller (abstract) */ 33 #define TYPE_AW_SDHOST "allwinner-sdhost" 36 #define TYPE_AW_SDHOST_SUN4I TYPE_AW_SDHOST "-sun4i" 39 #define TYPE_AW_SDHOST_SUN5I TYPE_AW_SDHOST "-sun5i" 41 /** Allwinner sun50i-a64 */ 42 #define TYPE_AW_SDHOST_SUN50I_A64 TYPE_AW_SDHOST "-sun50i-a64" 44 /** Allwinner sun50i-a64 emmc */ 45 #define TYPE_AW_SDHOST_SUN50I_A64_EMMC TYPE_AW_SDHOST "-sun50i-a64-emmc" 59 * Allwinner SD Host Controller object instance state. [all …]
|
/qemu/hw/ppc/ |
H A D | pnv_sbe.c | 25 #include "hw/qdev-properties.h" 32 * Most register and command definitions come from skiboot. 39 * Reg 0 - 3 : Host to send command packets to SBE 40 * Reg 4 - 7 : SBE to send response packets to Host 59 * the SBE about a waiting message in the Host/SBE mailbox registers 64 * Doorbell register for host bridge interrupt. Set by the SBE to inform 65 * host about a response message in the Host/SBE mailbox registers 131 sbe->host_doorbell = val; in pnv_sbe_set_host_doorbell() 134 qemu_set_irq(sbe->psi_irq, !!val); in pnv_sbe_set_host_doorbell() 145 /* SBE MBOX command class */ [all …]
|
/qemu/docs/about/ |
H A D | removed-features.rst | 9 System emulator command line arguments 10 -------------------------------------- 12 ``-hdachs`` (removed in 2.12) 15 The geometry defined by ``-hdachs c,h,s,t`` should now be specified via 16 ``-device ide-hd,drive=dr,cyls=c,heads=h,secs=s,bios-chs-trans=t`` 17 (together with ``-drive if=none,id=dr,...``). 19 ``-net channel`` (removed in 2.12) 22 This option has been replaced by ``-net user,guestfwd=...``. 24 ``-net dump`` (removed in 2.12) 27 ``-net dump[,vlan=n][,file=filename][,len=maxlen]`` has been replaced by [all …]
|
H A D | deprecated.rst | 12 monitor command, however, this is not a mandatory requirement. 21 for pre-existing VM deployments. They should be scheduled for updating to a 23 should exclusively use a non-deprecated machine type, with use of the most 24 recent version highly recommended. Non-versioned machine types follow the 30 System emulator command line arguments 31 -------------------------------------- 33 Short-form boolean options (since 6.0) 43 The replacement for the ``nodelay`` short-form boolean option is ``nodelay=on`` 50 command-line less readable, especially when the argument itself consist of a 51 name and a value, e.g. ``-plugin plugin_name,arg="arg_name=arg_value"``. [all …]
|
/qemu/scripts/simplebench/ |
H A D | bench_block_job.py | 34 """Benchmark block-job 36 cmd -- qmp command to run block-job (like blockdev-backup) 37 cmd_args -- dict of qmp command arguments 38 qemu_args -- list of Qemu command line arguments, including path to Qemu 42 contain additional 'vm-log' field. Return value is compatible with 59 return {'error': '"{}" command failed: {}'.format(cmd, str(res))} 71 return {'error': 'block-job failed: ' + str(e), 72 'vm-log': vm.get_log()} 75 return {'error': 'block-job failed: ' + e['data']['error'], 76 'vm-log': vm.get_log()} [all …]
|
/qemu/docs/system/devices/ |
H A D | usb.rst | 2 ------------- 5 plug virtual USB devices or real host USB devices (only works with 6 certain host operating systems). QEMU will automatically create and 15 QEMU has XHCI host adapter support. The XHCI hardware design is much 16 more virtualization-friendly when compared to EHCI and UHCI, thus XHCI 21 |qemu_system| -device qemu-xhci 46 ``-usb`` switch. QEMU will create the UHCI controller as function of 47 the PIIX3 chipset. The USB 1.1 bus will carry the name ``usb-bus.0``. 49 You can use the standard ``-device`` switch to add a EHCI controller to 52 ``-device usb-ehci,id=ehci``. This will give you a USB 2.0 bus named [all …]
|
H A D | virtio-pmem.rst | 8 on regular (i.e non-NVDIMM) storage. 11 ------- 14 host page cache. This reduces guest memory footprint as the host can 17 How does virtio-pmem compare to the nvdimm emulation? 18 ----------------------------------------------------- 20 NVDIMM emulation on regular (i.e. non-NVDIMM) host storage does not 23 on non-NVDIMM host storage. 26 ----------------- 28 A virtio pmem device backed by a memory-backend-file can be created on 29 the QEMU command line as in the following example:: [all …]
|
/qemu/qga/ |
H A D | qapi-schema.json | 1 # *-*- Mode: Python -*-* 8 # For locating a particular item, please see the `qapi-qga-index`. 12 # .. qmp-example:: 14 # -> ... text sent by client (commands) ... 15 # <- ... text sent by server (command responses and events) ... 21 # :doc:`QEMU Machine Protocol Specification </interop/qmp-spec>` 25 { 'pragma': { 'doc-required': true } } 31 'member-name-exceptions': [ 34 # Commands allowed to return a non-dictionary: 35 'command-returns-exceptions': [ [all …]
|