| Summary: | RFE: domifstats support for qemu usermode networking | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Gareth Williams <gareth> | ||||
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
| Status: | CLOSED DEFERRED | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | berrange, clalance, crobinso, itamar, jforbes, laine, rbalakri, veillard, virt-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-03-23 12:45:53 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Hmm, this is a non trivial problem. usermode networking is just not configured the same way as most other network devices, so we can't get stats in the same way. Moving to upstream tracker: since boxes is using usermode networking there may eventually be some movement on implementing this. AFAICT there isn't any way to actually do this... there's no host side interface to poll, and qemu doesn't provide any monitor command to get network stats. Given that usermode networking is generally not a recommended setup, and that this would take qemu work to implement, I'm closing this since I don't think it will ever actually happen |
Created attachment 504023 [details] dumpxml of usermode VM Description of problem: If I attempt virsh domifstat <domain> <device> as a normal user (usermode) against a QEMU session running as a normal user (virsh list as the user shows it running), I cannot get any stats. Connecting to a VM running as 'system' works. Checking virsh dumpxml <domain> on both shows that there is a <target dev='vnet0'> entry for the 'system' VM which I can use as an argument for domifstat but not for the usermode VM, which explains why I can't get any interface stats. Version-Release number of selected component (if applicable): libvirt 0.8.8-4.fc15.i686 How reproducible: Always Steps to Reproduce: 1. Create usermode VM 2. virsh dumpxml <domain> 3. Actual results: No target dev for network to use in virsh domifstat <domain> <interface> Expected results: A <target dev='???'> for the network interface. Additional info: