Home
last modified time | relevance | path

Searched +full:- +full:chs (Results 1 – 24 of 24) sorted by relevance

/qemu/tests/qemu-iotests/
H A D14653 _use_sample_img virtualpc-dynamic.vhd.bz2
55 $QEMU_IMG map --output=json --image-opts \
63 $QEMU_IMG map --output=json --image-opts \
68 echo === Testing VPC with chs force ===
71 $QEMU_IMG map --output=json --image-opts \
72 "driver=vpc,force_size_calc=chs,file.filename=$TEST_IMG" \
78 echo === Testing Hyper-V Autodetect ===
80 _use_sample_img hyperv2012r2-dynamic.vhd.bz2
82 $QEMU_IMG map --output=json --image-opts \
87 echo === Testing Hyper-V with current_size force ===
[all …]
H A D26636 'file': 'protocol-node',
50 'file': 'protocol-node',
53 'force-size': False })
56 # Successful image creation (non-default options)
58 iotests.log("=== Successful image creation (non-default options) ===")
61 # Not representable in CHS (fine with force-size=True)
65 'file': 'protocol-node',
68 'force-size': True })
71 # Size not representable in CHS with force-size=False
73 iotests.log("=== Size not representable in CHS ===")
[all …]
H A D266.out1 --- Creating empty file ---
2 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen…
4 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
7 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node
12 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":…
14 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
23 --- Creating empty file ---
24 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen…
26 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
29 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node
[all …]
H A D146.out11 === Testing VPC with chs force ===
15 === Testing Hyper-V Autodetect ===
19 === Testing Hyper-V with current_size force ===
23 === Testing Hyper-V with chs force ===
285 === Testing d2v with chs force ===
416 Formatting 'TEST_DIR/IMGFMT-create-test.IMGFMT', fmt=IMGFMT size=4294967296
422 === Read created image, force_size_calc=chs ====
432 Formatting 'TEST_DIR/IMGFMT-create-test.IMGFMT', fmt=IMGFMT size=4294967296
438 === Read created image, force_size_calc=chs ====
/qemu/tests/qtest/
H A Dhd-geo-test.c10 * See the COPYING file in the top-level directory.
24 #include "standard-headers/linux/qemu_fw_cfg.h"
64 [backend_empty] = -1,
86 return expected_chst && expected_chst->cyls; in is_hd()
120 int c = expected_chst->cyls; in test_cmos_drive_cyl()
121 int h = expected_chst->heads; in test_cmos_drive_cyl()
122 int s = expected_chst->secs; in test_cmos_drive_cyl()
156 val |= cur_ide[i]->trans << (2 * i); in test_cmos_disktransflag()
183 g_strdup("-nodefaults")); in setup_common()
185 g_strdup("-machine")); in setup_common()
[all …]
H A Dide-test.c30 #include "libqos/pci-pc.h"
31 #include "libqos/malloc-pc.h"
37 /* Specified by ATA (physical) CHS geometry for ~64 MiB device. */
132 g_autofree char *full_fmt = g_strdup_printf("-machine pc %s", cmdline_fmt); in ide_test_start()
199 /* 2-byte range, 6-byte LBA */ in trim_range_le()
313 "-drive file=%s,if=ide,cache=writeback,format=raw " in test_bmdma_setup()
314 "-global ide-hd.serial=%s -global ide-hd.ver=%s", in test_bmdma_setup()
406 const uint64_t bad_range = trim_range_le(TEST_IMAGE_SIZE / 512 - 1, 2); in test_bmdma_trim()
560 while (bytes--) { in string_cpu_to_be16()
575 "-blockdev driver=file,node-name=hda,filename=%s " in test_specify()
[all …]
/qemu/pc-bios/s390-ccw/
H A Dbootmap.c7 * your option) any later version. See the COPYING file in the top-level
13 #include "s390-ccw.h"
14 #include "s390-arch.h"
49 return !memcmp(&vd->ident[0], vol_desc_magic, 5) && in is_iso_vd_valid()
50 vd->version == 0x1 && in is_iso_vd_valid()
51 vd->type <= VOL_DESC_TYPE_PARTITION; in is_iso_vd_valid()
67 if (!magic_match(bip->magic, ZIPL_MAGIC)) { in verify_boot_info()
69 return -EINVAL; in verify_boot_info()
71 if (bip->version != BOOT_INFO_VERSION) { in verify_boot_info()
73 return -EINVAL; in verify_boot_info()
[all …]
H A Dbootmap.h2 * QEMU S390 bootmap interpreter -- declarations
8 * your option) any later version. See the COPYING file in the top-level
14 #include "s390-ccw.h"
43 EckdCHS chs; /* cylinder/head/sector is an address of the block */ member
45 uint8_t count; /* (size_in_blocks-1);
56 LdEckdCHS chs; /* cylinder/head/sector is an address of the block */ member
62 /* bptr is used for CCW type IPL, while ldptr is for list-directed IPL */
80 uint8_t reserved[510 - 32];
284 EckdCHS chs; member
320 EckdCHS br; /* Location of Boot Record for list-directed IPL */
[all …]
/qemu/block/
H A Dvpc.c30 #include "system/block-backend.h"
38 #include "qapi/qobject-input-visitor.h"
39 #include "qapi/qapi-visit-block-core.h"
63 /* always big-endian */
122 /* Backing file name (in UTF-16) */
164 .name = "vpc-runtime-opts",
170 .help = "Force disk size calculation to use either CHS geometry, "
172 "{chs, current_size}"
203 BDRVVPCState *s = bs->opaque; in vpc_parse_options()
211 s->force_use_sz = true; in vpc_parse_options()
[all …]
H A Dvvfat.c30 #include "block/block-io.h"
41 #include "qemu/error-report.h"
55 /* MAYBE TODO: write block-visofs.c */
73 * https://jdebp.eu/FGA/volume-boot-block-oem-name-field.html
91 array->pointer = NULL; in array_init()
92 array->size=0; in array_init()
93 array->next=0; in array_init()
94 array->item_size=item_size; in array_init()
99 g_free(array->pointer); in array_free()
100 array->size=array->next=0; in array_free()
[all …]
/qemu/hw/ide/
H A Dcf.c19 #include "hw/ide/ide-dev.h"
20 #include "qapi/qapi-types-block.h"
30 DEFINE_PROP_BIOS_CHS_TRANS("bios-chs-trans",
39 k->realize = ide_cf_realize; in ide_cf_class_init()
40 dc->fw_name = "drive"; in ide_cf_class_init()
41 dc->desc = "virtual CompactFlash card"; in ide_cf_class_init()
46 .name = "ide-cf",
H A Dide-dev.c22 #include "qapi/qapi-types-block.h"
23 #include "qemu/error-report.h"
25 #include "hw/ide/ide-dev.h"
26 #include "system/block-backend.h"
30 #include "ide-internal.h"
33 DEFINE_PROP_UINT32("unit", IDEDevice, unit, -1),
34 DEFINE_PROP_BOOL("win2k-install-hack", IDEDevice, win2k_install_hack, false),
41 IDEBus *bus = DO_UPCAST(IDEBus, qbus, qdev->parent_bus); in ide_qdev_realize()
43 if (dev->unit == -1) { in ide_qdev_realize()
44 dev->unit = bus->master ? 1 : 0; in ide_qdev_realize()
[all …]
H A Dahci.c28 #include "qemu/error-report.h"
30 #include "qemu/main-loop.h"
31 #include "system/block-backend.h"
33 #include "ahci-internal.h"
34 #include "ide-internal.h"
113 AHCIPortRegs *pr = &s->dev[port].port_regs; in ahci_port_read()
119 val = pr->lst_addr; in ahci_port_read()
122 val = pr->lst_addr_hi; in ahci_port_read()
125 val = pr->fis_addr; in ahci_port_read()
128 val = pr->fis_addr_hi; in ahci_port_read()
[all …]
H A Dcore.c2 * QEMU IDE disk and CD/DVD-ROM Emulator
30 #include "qemu/error-report.h"
31 #include "qemu/main-loop.h"
33 #include "qemu/hw-version.h"
39 #include "system/block-backend.h"
44 #include "ide-internal.h"
63 /* airflow-temperature-celsius */
115 uint16_t *p = (uint16_t *)s->identify_data; in ide_identify_size()
116 int64_t nb_sectors_lba28 = s->nb_sectors; in ide_identify_size()
118 nb_sectors_lba28 = (1 << 28) - 1; in ide_identify_size()
[all …]
/qemu/.gitlab-ci.d/
H A Dbuildtest-template.yml7 - ccache
11 - source scripts/ci/gitlab-ci-section
12 - section_start setup "Pre-script setup"
13 - JOBS=$(expr $(nproc) + 1)
14 - cat /packages.txt
15 - section_end setup
17 - export CCACHE_BASEDIR="$(pwd)"
18 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
19 - export CCACHE_MAXSIZE="500M"
20 - export PATH="$CCACHE_WRAPPERSDIR:$PATH"
[all …]
/qemu/target/arm/tcg/
H A Dhelper-a64.c24 #include "exec/helper-proto.h"
25 #include "qemu/host-utils.h"
27 #include "qemu/main-loop.h"
31 #include "exec/cpu-common.h"
32 #include "accel/tcg/cpu-ldst.h"
33 #include "accel/tcg/helper-retaddr.h"
36 #include "exec/tlb-flags.h"
42 #include "user/page-protection.h"
61 if (num == LLONG_MIN && den == -1) { in HELPER()
86 env->pstate |= PSTATE_ALLINT; in HELPER()
[all …]
H A Dmve_helper.c2 * M-profile MVE Operations
24 #include "exec/helper-proto.h"
25 #include "accel/tcg/cpu-ldst.h"
39 if ((env->condexec_bits & 0xf) != 0) { in mve_eci_mask()
43 eci = env->condexec_bits >> 4; in mve_eci_mask()
66 * (3) low-overhead-branch tail predication will mask out part in mve_element_mask()
70 * We combine all these into a 16-bit result with the same semantics in mve_element_mask()
72 * 8-bit vector ops will look at all bits of the result; in mve_element_mask()
73 * 16-bit ops will look at bits 0, 2, 4, ...; in mve_element_mask()
74 * 32-bit ops will look at bits 0, 4, 8 and 12. in mve_element_mask()
[all …]
/qemu/hw/block/
H A Dtrace-events7 # fdc-sysbus.c
30 …uint64_t start, int width2, uint64_t end) "%s: start sector erase at: 0x%0*" PRIx64 "-0x%0*" PRIx64
47 # virtio-blk.c
61 # hd-geometry.c
63 hd_geometry_guess(void *blk, uint32_t cyls, uint32_t heads, uint32_t secs, int trans) "blk %p CHS %…
65 # xen-block.c
82 …int8_t prev, uint8_t data) "[%p] programming zero to one! addr=0x%"PRIx32" 0x%"PRIx8" -> 0x%"PRIx8
95 m25p80_binding_no_bdrv(void *s) "[%p] No BDRV - binding to RAM"
/qemu/include/fpu/
H A Dsoftfloat.h5 * IEC/IEEE Floating-point Arithmetic Package. Those parts of the code (and
9 * the SoftFloat-2a license
11 * GPL-v2-or-later
14 * taken to be licensed under the Softfloat-2a license unless specifically
20 This C header file is part of the SoftFloat IEC/IEEE Floating-point
26 National Science Foundation under grant MIP-9311980. The original version
27 of this code was written as part of a project to build a fixed-point vector
79 * version 2 or later. See the COPYING file in the top-level directory.
85 /*----------------------------------------------------------------------------
86 | Software IEC/IEEE floating-point ordering relations
[all …]
/qemu/hw/core/
H A Dqdev-properties-system.c3 * (parts specific for qemu-system-*)
5 * This file is based on code from hw/qdev-properties.c from
10 * See the COPYING file in the top-level directory.
14 #include "hw/qdev-properties.h"
15 #include "hw/qdev-properties-system.h"
18 #include "qapi/qapi-types-block.h"
19 #include "qapi/qapi-types-machine.h"
20 #include "qapi/qapi-types-migration.h"
21 #include "qapi/qapi-visit-virtio.h"
27 #include "qemu/error-report.h"
[all …]
/qemu/docs/about/
H A Dremoved-features.rst10 --------------------------------------
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
28 ``-object filter-dump,id=id,netdev=dev[,file=filename][,maxlen=maxlen]``.
[all …]
/qemu/qapi/
H A Dblock.json1 # -*- Mode: Python -*-
8 { 'include': 'block-core.json' }
19 # translate logical CHS to physical; instead, they will use logical
39 # @rechs: Same as @large, but first convert a 16-head geometry to
40 # 15-head, by proportionally scaling up the number of
84 # @query-pr-managers:
94 { 'command': 'query-pr-managers', 'returns': ['PRManagerInfo'],
95 'allow-preconfig': true }
114 # - If @device is not a valid block device, DeviceNotFound
120 # .. qmp-example::
[all …]
H A Dblock-core.json1 # -*- Mode: Python -*-
20 # @vm-state-size: size of the VM state
22 # @date-sec: UTC date of the snapshot in seconds
24 # @date-nsec: fractional part in nano seconds to be used with date-sec
26 # @vm-clock-sec: VM clock relative to boot in seconds
28 # @vm-clock-nsec: fractional part in nano seconds to be used with
29 # vm-clock-sec
32 # record/replay is enabled. Used for "time-traveling" to match
34 # counter may be obtained through @query-replay command
40 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int',
[all …]
/qemu/target/mips/
H A Dhelper.h105 FOP_PROTO(chs)
263 /* DSP Arithmetic Sub-class insns */
388 /* DSP GPR-Based Shift Sub-class insns */
426 /* DSP Multiply Sub-class insns */
517 /* DSP Bit/Manipulation Sub-class insns */
524 /* DSP Compare-Pick Sub-class insns */
563 /* DSP Accumulator and DSPControl Access Sub-class insns */