| Summary: | Request for entry of kernel code snippet in Preface | ||
|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Scott Radvan <sradvan> |
| Component: | publican-redhat | Assignee: | Ruediger Landmann <rlandman> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jeff Fearn 🐞 <jfearn> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.6 | CC: | ddutile, publican-list, rlandman, sradvan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-31 23:59:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
ping, any updates? Added in publican-redhat-3.1-1 |
Description of problem: Currently the publican-redhat Preface shows a JBoss code snippet/block. During review of our guides, an issue was raised that kernel code might be more representative of the publican-redhat brand and the content under which it is typically written. How reproducible: Build guide under publican-redhat brand ( publican-redhat-2.7-2.fc15.noarch ) Actual results: JBoss code block shown. Expected results: Kernel code block shown. Additional info: The following code block was sent to me from my SME (ddutile@) for potential inclusion instead of the JBoss code that's currently present: static int kvm_vm_ioctl_deassign_device(struct kvm *kvm, struct kvm_assigned_pci_dev *assigned_dev) { int r = 0; struct kvm_assigned_dev_kernel *match; mutex_lock(&kvm->lock); match = kvm_find_assigned_dev(&kvm->arch.assigned_dev_head, assigned_dev->assigned_dev_id); if (!match) { printk(KERN_INFO "%s: device hasn't been assigned before, " "so cannot be deassigned\n", __func__); r = -EINVAL; goto out; } kvm_deassign_device(kvm, match); kvm_free_assigned_device(kvm, match); out: mutex_unlock(&kvm->lock); return r; } Thanks,