Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

NOTE: CentOS Enterprise Linux 5 is built from the Red Hat Enterprise Linux source code. Other than logo and name changes CentOS Enterprise Linux 5 is compatible with the equivalent Red Hat version. This document applies equally to both Red Hat and CentOS Enterprise Linux 5.

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


 
 
  Published under the terms of the GNU General Public License Design by Interspire