Home
last modified time | relevance | path

Searched full:raise (Results 1 – 25 of 275) sorted by relevance

1234567891011

/qemu/scripts/qapi/
H A Dexpr.py62 :raise QAPISemError: When ``name`` fails validation.
65 raise QAPISemError(info, "%s requires a string name" % source)
83 :raise QAPISemError: When ``name`` fails validation.
90 raise QAPISemError(info, "%s has an invalid name" % source)
106 :raise QAPISemError: When ``name`` fails validation.
110 raise QAPISemError(
130 :raise QAPISemError: When ``name`` fails validation.
135 raise QAPISemError(
150 :raise QAPISemError: When ``name`` fails validation.
154 raise QAPISemError(info, "name of %s must use CamelCase" % source)
[all …]
H A Dparser.py89 :raise OSError: For problems reading the root schema document.
90 :raise QAPIError: For errors in the schema source.
124 # May raise OSError; allow the caller to handle it.
144 raise QAPISemError(
150 raise QAPISemError(info, "invalid 'include' directive")
153 raise QAPISemError(info,
166 raise QAPISemError(info, "invalid 'pragma' directive")
169 raise QAPISemError(
175 raise QAPISemError(
189 raise QAPISemError(
[all …]
H A Dmain.py34 raise QAPIError("argument of -B must be of the form MODULE.CLASS")
39 raise QAPIError(f"unable to import '{module_path}': {ex}") from ex
44 raise QAPIError(
50 raise QAPIError(
54 raise QAPIError(
H A Dschema.py372 raise QAPISemError(
553 raise QAPISemError(self.info,
565 raise QAPISemError(
676 raise QAPISemError(
694 raise QAPISemError(
761 raise QAPISemError(
773 raise QAPISemError(
778 raise QAPISemError(
783 raise QAPISemError(
797 raise QAPISemError(self.info, "union has no branches")
[all …]
/qemu/python/qemu/qmp/
H A Dqmp_client.py241 :raise GreetingError: When the greeting is not understood.
242 :raise NegotiationError: If the negotiation fails.
243 :raise EOFError: When the server unexpectedly hangs up.
244 :raise OSError: For underlying stream errors.
261 :raise GreetingError: When the greeting is not understood.
262 :raise EOFError: When the server unexpectedly hangs up.
263 :raise OSError: For underlying stream errors.
276 raise GreetingError(emsg, err) from err
282 raise
289 :raise NegotiationError: When negotiation fails.
[all …]
H A Dmodels.py26 :raise KeyError: If any required fields are absent.
27 :raise TypeError: If any required fields have the wrong type.
34 raise KeyError(f"'{self._name}' object requires '{key}' member")
39 raise TypeError(
60 :raise KeyError: If any required fields are absent.
61 :raise TypeError: If any required fields have the wrong type.
88 :raise KeyError: If any required fields are absent.
89 :raise TypeError: If any required fields have the wrong type.
110 :raise KeyError: If any required fields are absent.
111 :raise TypeError: If any required fields have the wrong type.
[all …]
H A Dprotocol.py126 :raise StateError: When the required `Runstate` is not met.
155 raise StateError(emsg, proto.runstate, required_state)
287 :raise StateError: When the `Runstate` is not `IDLE`.
288 :raise ConnectError:
317 :raise StateError: When the `Runstate` is not `IDLE`.
318 :raise ConnectError:
337 :raise StateError: When the `Runstate` is not `CONNECTING`.
338 :raise QMPError: When `start_server()` was not called yet.
339 :raise ConnectError:
348 raise QMPError("Cannot call accept() before start_server().")
[all …]
H A Dlegacy.py85 raise ValueError(
137 raise QMPBadPortError(msg) from None
148 :raise ConnectError: on connection errors
167 :raise ConnectError: on connection errors
229 :raise asyncio.TimeoutError:
263 :raise asyncio.TimeoutError:
313 # Nothing we can do about it now, but if we don't raise our
316 raise QMPError(
H A Dmessage.py137 :raise ValueError: When the object cannot be serialized.
138 :raise TypeError: When the object cannot be serialized.
149 :raise DeserializationError:
151 :raise UnexpectedTypeError:
160 raise DeserializationError(emsg, data) from err
162 raise UnexpectedTypeError(
/qemu/tests/tcg/i386/
H A Dtest-avx.py74 raise Exception("bad reg_w %d" % w)
90 raise Exception()
98 raise Exception("Bad /m width: %s" % w)
112 raise Exception("Bad mem width: %s" % mw)
128 raise Exception("Bad vsib width: %s" % w)
143 raise Exception("Unknown immediate")
158 raise Exception("Bad r/w width: %s" % w)
160 raise Exception("Bad r/w width: %s" % w)
175 raise Exception("Bad mem width: %s" % w)
188 raise Exception("Expected /m: %s", arg)
[all …]
H A Dtest-mmx.py41 raise Exception("bad reg_w %d" % w)
53 raise Exception()
62 raise Exception("Bad /m width: %s" % w)
82 raise Exception("Unknown immediate")
97 raise Exception("Bad r/w width: %s" % w)
99 raise Exception("Bad r/w width: %s" % w)
114 raise Exception("Bad mem width: %s" % w)
127 raise Exception("Expected /m: %s", arg)
137 raise Exception("Expected /m: %s", arg)
149 raise SkipInstruction
[all …]
/qemu/tests/functional/qemu_test/
H A Dasset.py62 raise AssetError(self, "unknown hash type")
92 raise
102 raise
110 raise
122 raise AssetError(self,
167 raise AssetError(self, "Unable to download: "
172 raise AssetError(self, "Unable to download: " % e)
175 raise AssetError(self, "Download retries exceeded", transient=True)
189 raise AssetError(self, "Hash does not match %s" % self.hash)
213 raise
H A Duncompress.py30 raise
41 raise
53 raise Exception(
85 raise Exception(f"Unknown compression format {format}")
97 raise Exception(f"Unable to guess compression cformat for {compressed}")
107 raise Exception(f"Unknown compression format for {compressed}")
H A Darchive.py87 raise Exception("Unable to filter cpio extraction")
91 raise Exception("Unable to use file-like object with deb archives")
94 raise Exception(f"Unknown archive format {format}")
106 raise Exception(f"Unable to guess archive format for {archive}")
117 raise Exception(f"Unknown archive format for {archive}")
/qemu/scripts/
H A Danalyze-migration.py62 raise Exception("Unexpected end of %s at 0x%x" % (self.filename, self.file.tell()))
96 raise Exception("No Debug Migration device found")
122 raise Exception("Unknown RAM version %d" % version_id)
208 raise Exception("XBZRLE RAM compression is not supported yet")
210 raise Exception("RAM hooks don't make sense with files")
219 raise Exception("Unknown RAM flags: %x" % flags)
232 raise Exception("Unknown HTAB version %d" % version_id)
272 raise Exception("Unknown storage_attributes version %d" % version_id)
294 raise Exception("Unknown flags %x", flags)
297 raise Exception("Error in migration stream")
[all …]
H A Dminikconf.py118 raise KconfigDataError('contradiction between clauses when setting %s' % self)
135 raise KconfigDataError('cycle found including %s' % self)
222 raise KconfigDataError("there were undefined symbols")
267 raise KconfigDataError('variable "' + var + '" defined twice')
366 raise Error('assigned variable should start with CONFIG_')
397 raise KconfigParserError(self, "Inclusion loop for %s"
407 raise KconfigParserError(self,
426 raise KconfigParserError(self, 'Expected "y" or "n"')
435 raise KconfigParserError(self, 'Expected identifier')
442 raise KconfigParserError(self,
[all …]
/qemu/scripts/tracetool/
H A D__init__.py102 raise ValueError("Argument type '%s' is not allowed. "
142 raise ValueError("Empty argument (did you forget to use 'void'?)")
259 raise ValueError("Event '%s' has more than maximum permitted "
269 raise ValueError("Unknown properties: %s"
301 raise ValueError("Event format '%m' is forbidden, pass the error "
304 raise ValueError("Event format must not end with a newline "
307 raise ValueError("Event format must not use new line character")
363 raise ValueError("%s does not end with a new line" % fname)
374 raise
436 raise TracetoolError("format not set")
[all …]
/qemu/python/qemu/machine/
H A Dqtest.py48 :raise socket.error: on socket connection errors
59 raise ValueError("Either 'address' or 'sock' must be specified")
61 raise ValueError(
64 raise ValueError("server=True is meaningless when passing socket")
87 @raise socket.error on socket connection errors
97 @raise socket.error on socket connection errors
190 raise RuntimeError("qtest socket not available")
H A Dmachine.py261 raise
270 raise QEMUMachineError('Subprocess pipe not present')
445 raise QEMUMachineError('VM already launched')
461 raise VMLaunchFailure(
469 raise
510 raise
543 :raise subprocess.Timeout: When timeout is exceeds 60 seconds
559 :raise ConnectionReset: On QMP communication errors
560 :raise subprocess.TimeoutExpired: When timeout is exceeded waiting for
578 # May raise ExecInterruptedError or StateError if the
[all …]
/qemu/docs/specs/
H A Dedu.rst63 raise interrupt after finishing factorial computation
66 It contains values which raised the interrupt (see interrupt raise
69 0x60 (WO) : interrupt raise register
70 Raise an interrupt. The value will be put to the interrupt status
95 raise interrupt 0x100 after finishing the DMA
100 An IRQ is generated when written to the interrupt raise register. The value
/qemu/tests/qemu-iotests/
H A Dfat16.py317 raise Exception("Unexpected: FREE cluster")
319 raise Exception("Unexpected: RESERVED cluster")
323 raise Exception("Invalid FAT entry")
335 raise Exception("No free clusters")
353 raise Exception("No free clusters")
452 raise Exception("No free directory entries")
492 raise Exception(
507 raise Exception(f"{entry.whole_name()} is a directory")
526 raise Exception("entry is None")
528 raise Exception(f"{entry.whole_name()} is a directory")
[all …]
/qemu/hw/intc/
H A Daspeed_vic.c62 bool raise; in aspeed_vic_set_irq() local
78 raise = level; in aspeed_vic_set_irq()
81 raise = !level; in aspeed_vic_set_irq()
83 s->raw = deposit64(s->raw, irq, 1, raise); in aspeed_vic_set_irq()
89 raise = (!!old_level) != (!!level); in aspeed_vic_set_irq()
93 raise = !old_level && level; in aspeed_vic_set_irq()
96 raise = old_level && !level; in aspeed_vic_set_irq()
99 if (raise) { in aspeed_vic_set_irq()
100 s->raw = deposit64(s->raw, irq, 1, raise); in aspeed_vic_set_irq()
/qemu/python/scripts/
H A Dmkvenv.py292 Raise a fatal exception with a helpful hint if it isn't available.
304 raise Ouch(msg)
317 raise Ouch(msg)
383 # pylint: disable=raising-non-exception, raise-missing-from
385 # Some versions of the venv module raise SystemExit; *nasty*!
389 raise exc.__cause__ or exc.__context__ or exc
413 raise Ouch("VENV creation subprocess failed.") from exc
484 raise ValueError(
643 raise Ouch(
722 raise Ouch("found no usable tomli, please install it")
[all …]
/qemu/target/riscv/insn_trans/
H A Dtrans_rvzawrs.c.inc51 * should raise an exception when the implementation-specific bounded time
53 * immediately, as does our implementation of wrs.sto, or raise an
60 /* We only get here when helper_wrs_nto() doesn't raise an exception. */
/qemu/linux-user/arm/
H A Dcpu_loop.c236 int raise, enabled; in emulate_arm_fpa11() local
250 raise = 0; in emulate_arm_fpa11()
254 raise |= BIT_IOC; in emulate_arm_fpa11()
257 raise |= BIT_DZC; in emulate_arm_fpa11()
260 raise |= BIT_OFC; in emulate_arm_fpa11()
263 raise |= BIT_UFC; in emulate_arm_fpa11()
266 raise |= BIT_IXC; in emulate_arm_fpa11()
271 ts->fpa.fpsr |= raise & ~enabled; in emulate_arm_fpa11()
273 if (raise & enabled) { in emulate_arm_fpa11()

1234567891011