Bug 869259 - Add device operations support for libvirt (lxc)
Add device operations support for libvirt (lxc)
Status: CLOSED CURRENTRELEASE
Product: Virtualization Tools
Classification: Community
Component: libvirt (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Libvirt Maintainers
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-23 08:26 EDT by Heiher
Modified: 2016-03-23 19:04 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-03-23 19:04:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1067638 None None None 2012-10-23 08:26:05 EDT

  None (edit)
Description Heiher 2012-10-23 08:26:05 EDT
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 08:27:41 EDT
Created attachment 632064 [details]
Add device operations support for libvirt lxc.
Comment 2 Eric Blake 2012-10-23 08:39:40 EDT
Please post this patch to the upstream list, libvir-list@redhat.com, for faster review.  Not all the list participants actively follow bugzilla for patches.
Comment 3 Cole Robinson 2016-03-23 19:04:06 EDT
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.