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,
ping, any updates?
Added in publican-redhat-3.1-1