/qemu/docs/config/ |
H A D | q35-virtio-graphical.cfg | 13 # The guest will have a selection of VirtIO devices 15 # and will be accessed through a graphical console. 22 # plus a small selection of core PCI devices and 33 # This configuration file adds a number of other useful 135 # We use virtio-scsi here so that we can (hot)plug a large 196 # We add a virtualization-friendly USB 3.0 controller and 197 # a USB tablet so that graphical guests can be controlled 199 # guests get a PS/2 one added automatically. 219 # If you're running the guest on a remote, potentially 226 # creating a graphical display window on the host and [all …]
|
/qemu/docs/system/devices/ |
H A D | ivshmem.rst | 4 On Linux hosts, a shared memory device is available. The basic syntax 11 where hostmem names a host memory backend. For a POSIX shared memory 19 shared memory region. Interrupt support requires using a shared memory 20 server and using a chardev socket to connect to it. The code for the 33 When using the server, the guest will be assigned a VM ID (>=0) that 35 Guests can read their VM ID from a device register (see 53 Instead of specifying the <shm size> using POSIX shm, you may specify a
|
/qemu/docs/system/arm/ |
H A D | bananapi_m2u.rst | 4 Banana Pi BPI-M2 Ultra is a quad-core mini single board computer built with 7 2.0 ports, 1 USB OTG port, 1 HDMI port, 1 audio jack, a DC power port, 8 and last but not least, a SATA port. 40 for a complete list of unimplemented I/O devices: ``./hw/arm/allwinner-r40.c`` 46 for loading a Linux kernel or ELF executable. Additionally, the Banana Pi M2U 48 based SoC, which loads the bootloader from a SD card, specified via the -sd 54 To build a Linux mainline kernel that can be booted by the Banana Pi M2U machine, 74 Note that the mainline kernel does not have a root filesystem. You can choose 85 instead of shrinking it to a power of two, to avoid loss of data. For example, 86 to prepare a downloaded Armbian image, first extract it and then increase [all …]
|
H A D | virt.rst | 4 The ``virt`` board is a platform which does not correspond to any 7 a guest such as Linux and do not care about reproducing the 8 idiosyncrasies and limitations of a particular bit of real-world 11 This is a "versioned" board model, so as well as the ``virt`` machine 13 changes between QEMU versions) a version is provided that guarantees 31 - The fw_cfg device that allows a guest to obtain data from QEMU 42 - many CPUs (up to 512 if using a GICv3 and highmem) 47 a system reset or system poweroff 70 specify a CPU type. 73 enable all the CPU features for a given ``virt`` machine. Where a CPU [all …]
|
/qemu/docs/system/ |
H A D | target-arm.rst | 7 ``qemu-system-aarch64`` executable to simulate a 64-bit Arm machine. 9 to simulate a 32-bit Arm machine: in general, command lines that 19 the same SoC. Even with fifty boards QEMU does not cover more than a 32 Choosing a board model 42 users who are used to the x86 world where every system looks like a 46 If you already have a system image or a kernel that works on hardware 51 extract the filesystem and use that with a different kernel which 52 boots on a system that QEMU does emulate.) 57 ``virt`` board. This is a platform which doesn't correspond to any 59 need to compile Linux with a suitable configuration for running on [all …]
|
H A D | qemu-block-drivers.rst.inc | 55 File name of a base image (see ``create`` subcommand) 423 be removed in a future release. 458 modifications are written in a temporary file). 472 QEMU can automatically create a virtual FAT disk image from a 559 iSCSI is a popular protocol used to access SCSI devices across a computer 612 These can also be set via a configuration file: 671 GlusterFS is a user space distributed file system. 790 must be given as a hex encoded string:: 799 QEMU using a command such as:: 820 print a warning when ``fsync`` is not supported: [all …]
|
/qemu/docs/devel/ |
H A D | trivial-patches.rst | 9 Trivial patches that change just a few lines of code sometimes languish 10 on the mailing list even though they require only a small amount of 19 - Only touch a few lines of code. 21 **You should hint that your patch is a candidate by CCing 28 active repository at a time: 39 2. Review trivial patches, merge them into a git tree, and reply to state 41 3. Send pull requests to the development mailing list once a week.
|
H A D | docs.rst | 19 * a Sphinx extension in ``docs/sphinx/hxtool.py`` generates rST output 31 ``SRST`` starts a reStructuredText section. Following lines 33 The alternative form ``SRST()`` is used to define a label which can be 42 and switches back to a C code section. 44 ``DEFHEADING()`` defines a heading that should appear in both the 46 be in the C code block. If there is a string inside the brackets, 48 a blank line in the ``--help`` output and is ignored for the rST 51 ``ARCHHEADING()`` is a variant of ``DEFHEADING()`` which produces 63 In the file ``qemu-options.hx``, do not try to explicitly define a 64 reStructuredText label within a documentation section. This file
|
H A D | qtest.rst | 9 QTest is a device emulation testing framework. It can be very useful to test 11 clock stepping), with a special purpose "qtest" protocol. Refer to 23 Consider adding a new QTest case when you are introducing a new virtual 27 On top of libqtest, a higher level library, ``libqos``, was created to 35 Steps to add a new QTest case are: 37 1. Create a new source file for the test. (More than one file can be added as 56 dictionary. For example a test that needs to use the ``QIO`` library 65 Debugging a QTest failure is slightly harder than the unit test because the
|
/qemu/docs/tools/ |
H A D | qemu-img.rst | 46 *FILENAME* is a disk image filename. 59 *OPTIONS* is a comma separated list of format specific options in a 88 a full option string, not a plain filename. This parameter is mutually 91 in a future release. 245 .. option:: -a 251 Creates a snapshot 255 Deletes a snapshot 280 specified, a write test is performed, otherwise a read test is performed. 418 Error on checking a sector allocation 513 If a disk image has a backing file chain, information about each disk image in [all …]
|
H A D | qemu-trace-stap.rst | 17 this program, since it is a wrapper around execution of the ``stap`` 42 *PATTERN* is a plain string that is used to filter the results of 43 this command. It may optionally contain a ``*`` wildcard to facilitate 57 subsystem, in a binary outside ``$PATH`` 65 Run a trace session, printing formatted output any time a process that is 66 executing *BINARY* triggers a probe matching *PATTERN*. 71 *PATTERN* is a plain string that matches a probe name shown by the 72 *LIST* command. It may optionally contain a ``*`` wildcard to 82 unless told to only monitor a specific process.
|
/qemu/tests/tcg/alpha/ |
H A D | test-ovf.c | 3 static long test_subqv (long a, long b) in test_subqv() argument 8 : "=r" (res) : "r" (a), "r" (b)); in test_subqv() 13 long a; member 26 if ((*vectors[i].func)(vectors[i].a, vectors[i].b) != vectors[i].r) { in main()
|
/qemu/docs/ |
H A D | bypass-iommu.txt | 6 Traditionally, there is a global switch to enable/disable vIOMMU. All 13 PCI host bridges have a bypass_iommu property. This property is used to 15 virtual iommu. The bypass_iommu property is valid only when there is a 17 bypass vIOMMU. When bypass_iommu property is not set for a host bridge, 23 bridge, we add a bypass_iommu property for PXB and default_bus_bypass_iommu 46 - a default host bridge which bypass SMMUv3 47 - a pxb host bridge which go through SMMUv3 48 - a pxb host bridge which bypass SMMUv3 60 - a default host bridge which bypass iommu 61 - a pxb host bridge which go through iommu [all …]
|
H A D | qdev-device-use.txt | 5 In qdev, each device has a parent bus. Some devices provide one or 6 more buses for children. You can specify a device's parent bus with 10 where this address can be configured, devices provide a bus-specific 30 A QEMU block device (drive) has a host and a guest part. 35 and is connected to a host part. 38 together into a single device. For instance, the ISA floppy 98 This SCSI controller provides a single SCSI bus, named ID.0. Put a 143 Bug: usb-storage pretends to be a block device, but it's really a SCSI 151 A QEMU character device has a host and a guest part. 369 The old way to assign a USB host device [all …]
|
/qemu/qapi/ |
H A D | cryptodev.json | 14 # The supported algorithm types of a crypto device. 29 # The supported service types of a crypto device. 57 # Information about a queue of crypto device. 72 # Information about a crypto device. 76 # @service: supported service types of a crypto device 92 # Returns: a list of @QCryptodevInfo
|
H A D | cxl.json | 11 # CXL has a number of separate event logs for different types of 34 # Inject an event record for a General Media Event (CXL r3.0 64 # @rank: The rank of the memory event location. A rank is a set of 65 # memory devices on a channel that together execute a transaction. 85 # Inject an event record for a DRAM Event (CXL r3.0 8.2.9.2.1.2). 115 # memory devices on a channel that together execute a transaction. 120 # a number of Banks. 146 # Inject an event record for a Memory Module Event (CXL r3.0 199 # Poison records indicate that a CXL memory device knows that a 286 # Record of a single error including header log. [all …]
|
H A D | qom.json | 51 # This command will list any properties of a object given a path in 79 # This command will get a property from a object model path and return 131 # This command will set a property from a object model path. 194 # List properties associated with a QOM object. 329 # Indicates where to insert a netfilter relative to a given other 652 # file. Must be a multiple of the page size. 761 # @log: the path to a log file 998 # to a list of host CPU numbers used as CPU affinity. This is a 1151 # Create a QOM object. 1171 # Remove a QOM object. [all …]
|
/qemu/util/ |
H A D | cpuinfo-i386.c | 24 unsigned max, a, b, c, d, b7 = 0, c7 = 0; in cpuinfo_init() local 29 __cpuid_count(7, 0, a, b7, c7, d); in cpuinfo_init() 35 __cpuid(1, a, b, c, d); in cpuinfo_init() 79 __cpuid(0, a, b, c, d); in cpuinfo_init() 91 __cpuid(0x80000001, a, b, c, d); in cpuinfo_init()
|
/qemu/tests/decode/ |
H A D | succ_pattern_group_nest3.decode | 6 sub1 00000000 a:8 b:8 c:8 7 sub2 00000001 a:8 b:8 c:8 8 sub3 00000010 a:8 b:8 c:8 10 sub4 000000 d:2 a:8 b:8 c:8
|
/qemu/target/arm/tcg/ |
H A D | mve.decode | 15 # You should have received a copy of the GNU Lesser General Public 40 &vldr_vstr rn qd imm p a w size l u 54 &vldst_sg_imm qd qm a w imm 130 # Bit 28 is a 2op_fp_scalar_size bit, but we do not decode it in this 143 # 2-operand, but Qd and Qn share a field. Size is in bit 28, but we 430 &vmlaldav rdahi rdalo size qn qm x a 431 &vmladav rda size qn qm x a 590 # not in a way we can conveniently represent in decodetree without 591 # a lot of repetition: 595 # So we have a single decode line and check the cmode/op in the [all …]
|
/qemu/docs/about/ |
H A D | removed-features.rst | 5 What follows is a record of recently removed, formerly deprecated 6 features that serves as a record for users who have encountered 7 trouble after a recent upgrade. 169 to a NUMA node. But when using it, it's impossible to manage a specified RAM 292 When plugging in a floppy controller 346 or ``gnutls`` library enabled as a cryptography provider. 356 and removed without a replacement. 414 Input parameters that take a size value should only use a size suffix 437 line using a ``secret`` object instance. 1117 a raw image to a guest allows a potential security exploit if a future [all …]
|
/qemu/tests/qapi-schema/ |
H A D | bad-base.json | 1 # we reject a base that is not a struct 2 { 'enum': 'Enum', 'data': [ 'a', 'b' ] } 8 'data': { 'a': 'Int', 'b': 'Str' } }
|
H A D | reserved-member-has.json | 2 # We reject names like 'has-a', because they can collide with the flag 3 # for an optional 'a' in generated C. 5 { 'command': 'oops', 'data': { '*a': 'str', 'has-a': 'str' } }
|
/qemu/include/qemu/ |
H A D | host-utils.h | 38 uint64_t a, uint64_t b) in mulu64() argument 40 __uint128_t r = (__uint128_t)a * b; in mulu64() 46 int64_t a, int64_t b) in muls64() argument 48 __int128_t r = (__int128_t)a * b; in muls64() 54 static inline uint64_t muldiv64(uint64_t a, uint32_t b, uint32_t c) in muldiv64() argument 56 return (__int128_t)a * b / c; in muldiv64() 61 return ((__int128_t)a * b + c - 1) / c; in muldiv64_round_up() 86 void muls64(uint64_t *plow, uint64_t *phigh, int64_t a, int64_t b); 106 u.ll = a; in muldiv64_rounding() 120 return muldiv64_rounding(a, b, c, false); in muldiv64() [all …]
|
/qemu/libdecnumber/ |
H A D | decNumber.c | 287 #define malloc(a) decMalloc(a) argument 288 #define free(a) decFree(a) argument 998 a=a/10; in decNumberAnd() 1388 a=a/10; in decNumberInvert() 2004 a=a/10; in decNumberOr() 3085 a->bits=0; a->digits=3; in decNumberSquareRoot() 3095 a->lsu[0]=19; a->lsu[1]=8; in decNumberSquareRoot() 3098 a->lsu[0]=9; a->lsu[1]=1; a->lsu[2]=8; in decNumberSquareRoot() 3112 a->lsu[0]=59; a->lsu[1]=2; in decNumberSquareRoot() 3115 a->lsu[0]=9; a->lsu[1]=5; a->lsu[2]=2; in decNumberSquareRoot() [all …]
|