1 virsh# help change-media
2
3
4 NAME
5 change-media - Change media of CD or floppy drive
6
7 SYNOPSIS
8 change-media <domain> <path> [<source>] [--eject] [--insert] [--update] [--current] [--live] [--config] [--force]
9
10 DESCRIPTION
11 Change media of CD or floppy drive.
12
13 OPTIONS
14 [--domain] <string> domain name, id or uuid
15 [--path] <string> Fully-qualified path or target of disk device
16 [--source] <string> source of the media
17 --eject Eject the media
18 --insert Insert the media
19 --update Update the media
20 --current can be either or both of --live and --config, depends on implementation of hypervisor driver
21 --live alter live configuration of running domain
22 --config alter persistent configuration, effect observed on next boot
23 --force force media insertion
2.首先我们先要找出CD在winxp domain 中的设备名称(Target).