Lines Matching defs:str

122         logger_name: str, level: int = logging.CRITICAL) -> Iterator[None]:
144 def qemu_tool_popen(args: Sequence[str],
154 def qemu_tool_pipe_and_status(tool: str, args: Sequence[str],
171 def qemu_img_create_prepare_args(args: List[str]) -> List[str]:
210 def qemu_tool(*args: str, check: bool = True, combine_stdio: bool = True
250 def qemu_img(*args: str, check: bool = True, combine_stdio: bool = True
277 def qemu_img_create(*args: str) -> 'subprocess.CompletedProcess[str]':
280 def qemu_img_json(*args: str) -> Any:
312 def qemu_img_measure(*args: str) -> Any:
315 def qemu_img_check(*args: str) -> Any:
318 def qemu_img_info(*args: str) -> Any:
321 def qemu_img_map(*args: str) -> Any:
324 def qemu_img_log(*args: str, check: bool = True
330 def img_info_log(filename: str, filter_path: Optional[str] = None,
331 use_image_opts: bool = False, extra_args: Sequence[str] = (),
347 def qemu_io_wrap_args(args: Sequence[str]) -> List[str]:
356 def qemu_io(*args: str, check: bool = True, combine_stdio: bool = True
367 def qemu_io_log(*args: str, check: bool = True
428 def __init__(self, *args: str, instance_id: str = 'a', qmp: bool = False):
460 def qmp(self, cmd: str, args: Optional[Dict[str, object]] = None) \
469 def cmd(self, cmd: str, args: Optional[Dict[str, object]] = None) \ member in QemuStorageDaemon
501 def qemu_nbd_early_pipe(*args: str) -> Tuple[int, str]:
509 def qemu_nbd_list_log(*args: str) -> str:
545 def compare_images(img1: str, img2: str,
546 fmt1: str = imgfmt, fmt2: str = imgfmt) -> bool:
571 def image_size(img: str) -> int:
651 def filter_virtio_scsi(output: str) -> str:
671 def filter_img_info(output: str, filename: str,
711 def filter_nbd_exports(output: str) -> str:
714 def filter_qtest(output: str) -> str:
930 def hmp(self, command_line: str, use_log: bool = False) -> QMPMessage:
938 def pause_drive(self, drive: str, event: Optional[str] = None) -> None:
946 def resume_drive(self, drive: str) -> None:
950 def hmp_qemu_io(self, drive: str, cmd: str,
993 def run_job(self, job: str, auto_finalize: bool = True,
1076 def wait_migration(self, expect_runstate: Optional[str]) -> bool:
1395 def _verify_image_format(supported_fmts: Sequence[str] = (),
1396 unsupported_fmts: Sequence[str] = ()) -> None:
1411 def _verify_protocol(supported: Sequence[str] = (),
1412 unsupported: Sequence[str] = ()) -> None:
1422 def _verify_platform(supported: Sequence[str] = (),
1423 unsupported: Sequence[str] = ()) -> None:
1431 def _verify_cache_mode(supported_cache_modes: Sequence[str] = ()) -> None:
1435 def _verify_aio_mode(supported_aio_modes: Sequence[str] = ()) -> None:
1439 def _verify_formats(required_formats: Sequence[str] = ()) -> None:
1456 def _verify_imgopts(unsupported: Sequence[str] = ()) -> None:
1534 def qemu_pipe(*args: str) -> str:
1564 **kwargs: Dict[str, Any]) -> None:
1579 def skip_for_formats(formats: Sequence[str] = ()) \
1586 **kwargs: Dict[str, Any]) -> None:
1648 def execute_unittest(argv: List[str], debug: bool = False) -> None:
1659 def execute_setup_common(supported_fmts: Sequence[str] = (),
1660 supported_platforms: Sequence[str] = (),
1661 supported_cache_modes: Sequence[str] = (),
1662 supported_aio_modes: Sequence[str] = (),
1663 unsupported_fmts: Sequence[str] = (),
1664 supported_protocols: Sequence[str] = (),
1665 unsupported_protocols: Sequence[str] = (),
1666 required_fmts: Sequence[str] = (),
1667 unsupported_imgopts: Sequence[str] = ()) -> bool: