17.22. Creating a New Virtual Block Device
You can use xm to create a new virtual block device:
xm block-attach [domain-id] [bedomain-id] [fe-dev] [be-dev] [mode]
You can attach (or detach) virtual devices even if guests are running. The five parameter options are defined below:
Parameter | Description |
---|---|
[domain-id] |
The guest domain's domain-id that attaches to the device |
[be-dev] |
The device in the backend domain that gets exported |
[fe-dev] |
The device that gets presented to the guest domain |
[mode] |
The guest domain's device access mode |
[bedomain-id] |
The back end domain that hosts the device |
Table 17.5. New Block Device Parameters