Bug 869259 - Add device operations support for libvirt (lxc)
Summary: Add device operations support for libvirt (lxc)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-23 12:26 UTC by Heiher
Modified: 2016-03-23 23:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-23 23:04:06 UTC
Embargoed:


Attachments (Terms of Use)
Add device operations support for libvirt lxc. (16.78 KB, patch)
2012-10-23 12:27 UTC, Heiher
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1067638 0 None None None 2012-10-23 12:26:05 UTC

Description Heiher 2012-10-23 12:26:05 UTC
Currently, libvirt is not support device operations for lxc.

This is a patch that add device operations support for libvirt 0.10.2.
1. lxcDomainAttachDevice
2. lxcDomainAttachDeviceFlags
3. lxcDomainDetachDevice
4. lxcDomainDetachDeviceFlags
5. lxcDomainUpdateDeviceFlags

In live mode, set devices.allow/deny to instance's cgroup and insert disk config into current domain.
In config mode, just insert disk config into current domain.
  
This is part of 'Fix up attach/detach volume for nova (openstack)'.

Comment 1 Heiher 2012-10-23 12:27:41 UTC
Created attachment 632064 [details]
Add device operations support for libvirt lxc.

Comment 2 Eric Blake 2012-10-23 12:39:40 UTC
Please post this patch to the upstream list, libvir-list, for faster review.  Not all the list participants actively follow bugzilla for patches.

Comment 3 Cole Robinson 2016-03-23 23:04:06 UTC
attach/detach device was eventually added upstream for lxc


Note You need to log in before you can comment on or make changes to this bug.