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:
641 def filter_virtio_scsi(output: str) -> str:
661 def filter_img_info(output: str, filename: str,
701 def filter_nbd_exports(output: str) -> str:
912 def hmp(self, command_line: str, use_log: bool = False) -> QMPMessage:
920 def pause_drive(self, drive: str, event: Optional[str] = None) -> None:
928 def resume_drive(self, drive: str) -> None:
932 def hmp_qemu_io(self, drive: str, cmd: str,
975 def run_job(self, job: str, auto_finalize: bool = True,
1058 def wait_migration(self, expect_runstate: Optional[str]) -> bool:
1377 def _verify_image_format(supported_fmts: Sequence[str] = (),
1378 unsupported_fmts: Sequence[str] = ()) -> None:
1393 def _verify_protocol(supported: Sequence[str] = (),
1394 unsupported: Sequence[str] = ()) -> None:
1404 def _verify_platform(supported: Sequence[str] = (),
1405 unsupported: Sequence[str] = ()) -> None:
1413 def _verify_cache_mode(supported_cache_modes: Sequence[str] = ()) -> None:
1417 def _verify_aio_mode(supported_aio_modes: Sequence[str] = ()) -> None:
1421 def _verify_formats(required_formats: Sequence[str] = ()) -> None:
1438 def _verify_imgopts(unsupported: Sequence[str] = ()) -> None:
1516 def qemu_pipe(*args: str) -> str:
1546 **kwargs: Dict[str, Any]) -> None:
1561 def skip_for_formats(formats: Sequence[str] = ()) \
1568 **kwargs: Dict[str, Any]) -> None:
1627 def execute_unittest(argv: List[str], debug: bool = False) -> None:
1638 def execute_setup_common(supported_fmts: Sequence[str] = (),
1639 supported_platforms: Sequence[str] = (),
1640 supported_cache_modes: Sequence[str] = (),
1641 supported_aio_modes: Sequence[str] = (),
1642 unsupported_fmts: Sequence[str] = (),
1643 supported_protocols: Sequence[str] = (),
1644 unsupported_protocols: Sequence[str] = (),
1645 required_fmts: Sequence[str] = (),
1646 unsupported_imgopts: Sequence[str] = ()) -> bool: