Fwd: [libvirt] Release of libvirt-1.2.12
by Cole Robinson
In rawhide and f21 virt-preview now
- Cole
-------- Forwarded Message --------
As planned I pushed the libvirt-1.2.12 release as well as the
corresponding python bindings to the server, they are also tagged
in git(s):
ftp://libvirt.org/libvirt [/python]
This is a mixed release, not really a huge feature addition though
there should be user noticeable improvement for networking and users
of Parallels. 2 secutity fixes, a large set of bug fixes and lot of
improvements:
Security:
- CVE-2015-0236: qemu: Check ACLs when dumping security info from snapshots
(Peter Krempa)
- CVE-2015-0236: qemu: Check ACLs when dumping security info from save image
(Peter Krempa)
Documentation:
- Fix docs about python bindings package (Martin Kletzander)
- Document some -boot option limitations on UEFI (Michal Privoznik)
- virsh.pod: Update description (John Ferlan)
- Fix typo s/interpetation/interpretation/ (Claudio Bley)
- split typedef and struct definition for apibuild.py (Claudio Bley)
Portability:
- Fix build with older gcc (Ján Tomko)
- Fix virCgroupNewMachine prototype on non-Linux (Ján Tomko)
- Conditionalize use of -Wno-suggest-attribute=format pragma (Daniel P. Berrange)
- virnetlink: fix build on non-Linux (Eric Blake)
- util: Fix fallocate stubs for mingw build (Martin Kletzander)
- avoid using deprecated udev logging functions (Daniel P. Berrange)
Bug Fixes:
- Fix a memory leak in virCgroupGetPercpuStats (Ján Tomko)
- Use correct location for qcow1 encryption header (Ján Tomko)
- systemd: fix build without dbus (Daniel P. Berrange)
- Fix apparmor issues for tck (Mike Latimer)
- Fix apparmor issues for Xen (Mike Latimer)
- esx_vi: fix possible segfault (Pavel Hrdina)
- xenapi_driver: fix copy-paste typo (Pavel Hrdina)
- Fix virCgroupGetPercpuStats with non-continuous present CPUs (Ján Tomko)
- qemu: output error when try to hotplug unsupported console type (Luyao Huang)
- qemu: format server interface without a listen address (Ján Tomko)
- tests: fix xlconfigtest build failure (Jim Fehlig)
- qemu_conf: check for duplicate security drivers (Ján Tomko)
- Always check return value of qemuDomainObjExitMonitor (Ján Tomko)
- Fix vmdef usage after domain crash in monitor on device attach (Ján Tomko)
- Fix vmdef usage after domain crash in monitor on device detach (Ján Tomko)
- libxl: Set path to console on domain startup. (Anthony PERARD)
- Coverity fix: properly check for 0 ipv6 address. (Cédric Bosdonnat)
- network: Resolve Coverity FORWARD_NULL (John Ferlan)
- qemu: Tweak auto adding PCI bridge controller when extending default PCI bus
(Erik Skultety)
- domain_conf: Check errors from virSocketAddrFormat (John Ferlan)
- domain_conf: Resolve Coverity RESOURCE_LEAK (John Ferlan)
- Fix ipv6 regex in RNG schemas to match '::' (Cédric Bosdonnat)
- virNetworkDefUpdateIPDHCPHost: Don't crash when updating network (Michal
Privoznik)
- qemu: free priv->origname when qemuMigrationPrepareAny fails (Luyao Huang)
- Fix vmdef usage while in monitor in qemu process (Ján Tomko)
- Fix vmdef usage while in monitor in BlockStat* APIs (Ján Tomko)
- Fix vmdef usage while in monitor in qemuDomainHotplugVcpus (Ján Tomko)
- qemu_driver: fix setting vcpus for offline domain (Pavel Hrdina)
- qemu: snapshot: inactive external snapshot can't work after libvirtd restart
(Shanzhi Yu)
- qemu: forbid second blockcommit during active commit (Eric Blake)
- parallels: don't override error message when XML parsing fails (Daniel P.
Berrange)
- Don't use VIR_DOMAIN_XML_SECURE when parsing XML (Daniel P. Berrange)
- conf: fix crash when hotplug a channel chr device with no target (Luyao Huang)
- qemuxml2argvtest: Fix test after change of qxl vgamem_mb default (Michal
Privoznik)
- cpu: Bugfix for s390 CPU driver to return a host CPU model (Daniel Hansel)
- virconf: Resolve a possible memory leak in virConfSetValue (John Ferlan)
- openvz: Resolve Coverity RESOURCE_LEAK (John Ferlan)
- lxc: Don't crash on NULL ifname_guest_actual (Guido Günther)
- conf: Correctly format controller's driver (Luyao Huang)
- vmx: Fix a VMX parsing problem (Geoff Hickey)
- qemu: Fix system pages handling in <memoryBacking/> (Michal Privoznik)
- qemu: Don't unref domain after exit from nested async job (Peter Krempa)
- conf: Don't format actual network definition in migratable XML (Luyao Huang)
- qemu: Restore old bandwidth rules when setting new fails (Luyao Huang)
- Fix error when starting a container after an error (Cédric Bosdonnat)
- qemu: Fix coverity issues after refcount refactoring (Martin Kletzander)
- util: Fix possible NULL dereference (Martin Kletzander)
- disable vCPU pinning with TCG mode (Daniel P. Berrange)
- Don't setup fake CPU pids for old QEMU (Daniel P. Berrange)
- Fix hotplugging of block device-backed usb disks (Ján Tomko)
- Buffer size too small when reading sysinfo (Boris Fiuczynski)
- qemu: fix memory leak in blockinfo (Eric Blake)
- conf: fix cannot start a guest have a shareable network iscsi hostdev (Luyao
Huang)
- qemu: fix bugs in blockstats (Eric Blake)
- qemu: Free saved error in qemuDomainSetVcpusFlags (Martin Kletzander)
- qemu: Add missing goto error in qemuRestoreCgroupState (Martin Kletzander)
- conf: Fix invalid condition when parsing storage owner (Martin Kletzander)
- qemu: Fix hotplugging cpus with strict memory pinning (Martin Kletzander)
- parallels: fix usage of disk->info.addr.drive structure (Dmitry Guryanov)
- qemu: Auto generate a controller when attach hostdev and chr device (Luyao
Huang)
- xenconfig: fix boot device parsing (Wei Liu)
- conf: fix virDomainLeaseIndex logic (Luyao Huang)
- conf: Fix libvirtd crash matching hostdev XML (Luyao Huang)
- fix typo in sanlock driver s/VIR_CONF_UONG/VIR_CONF_ULONG/ (Daniel P. Berrange)
- qemu: avoid rare race when undefining domain (Martin Kletzander)
Improvement:
- tests: Check for virQEMUDriverConfigNew return value (Michal Privoznik)
- systemd: avoid string comparisons on dbus error messages (Daniel P. Berrange)
- aarch64: Support versioned machine types. (Richard W.M. Jones)
- qemu: Add check for PCI bridge placement if there are too many PCI devices
(Erik Skultety)
- qemu: Fix auto-adding PCI bridge when all slots are reserved (Erik Skultety)
- qemu: move PCI slot assignment for PIIX3, Q35 into a separate function (Erik
Skultety)
- qemu: reorder PCI slot assignment functions (Erik Skultety)
- schemas: Move definition of 'hexuint' to basictypes (Peter Krempa)
- util: json: Make argument of virJSONValueArraySize const (Peter Krempa)
- qemu: command: Honor const-correctnes in qemuBuildNumaArgStr (Peter Krempa)
- conf: Fix comment mentioning actual type of @multi member of
virDevicePCIAddress (Peter Krempa)
- Grant access to helpers (Mike Latimer)
- conf: virDomainDefMaybeAddController tweak return code (Erik Skultety)
- qemu: Remove dead code in qemuDomainAssignPCIAddresses revert patch (Erik
Skultety)
- network: Let domains be restricted to local DNS (Josh Stone)
- Make ZFS storage pool XML tests optional (Gary R Hook)
- Simplify condition for formatting CPU features (Ján Tomko)
- Add an XML test for host-model CPU with features (Ján Tomko)
- parallels: create container from existing image (Dmitry Guryanov)
- parallels: allow to add filesystems to container (Dmitry Guryanov)
- parallels: commit with PVCF_DETACH_HDD_BUNDLE flag (Dmitry Guryanov)
- parallels: dump info about container filesystems (Dmitry Guryanov)
- add ploop fs driver type (Dmitry Guryanov)
- qemu: Add support for enabling/disabling PMU (Martin Kletzander)
- docs, schema, conf: Add support for PMU feature (Martin Kletzander)
- virsh: add support for domain XML validation (Daniel P. Berrange)
- Add XML test for too many PCI devices on default PCI bus (Erik Skultety)
- Remove dead code in qemuDomainAssignPCIAddresses (Erik Skultety)
- virSocketAddrGetIpPrefix 0.0.0.0 and :: special cases (Cédric Bosdonnat)
- Use the network route definitions for domains (Cédric Bosdonnat)
- Move code related to network routes to networkcommon_conf.[ch] (Cédric
Bosdonnat)
- Move network route definition to networkcommon.rng (Cédric Bosdonnat)
- Add support for schema validation when passing in XML (Daniel P. Berrange)
- Add virXMLValidateAgainstSchema helper method (Daniel P. Berrange)
- Change int to size_t in size var for tap/vhost FDs (Daniel P. Berrange)
- Log dtrace/systemd probes at INFO level instead of DEBUG (Daniel P. Berrange)
- Add systemd/dtrace probes for DBus APIs (Daniel P. Berrange)
- Add support for systemd-machined CreateMachineWithNetwork (Daniel P. Berrange)
- Mark the domain as active in qemuhotplugtest (Ján Tomko)
- Check for domain liveness in qemuDomainObjExitMonitor (Ján Tomko)
- check IOMMU group devices usage when preparing device for vfio passthrough
(Shivaprasad G Bhat)
- virpci: Implement virPCIDeviceGetAddress function (Shivaprasad G Bhat)
- libxl: Add support for parsing/formating Xen XL config (Kiarie Kahurani)
- tests: Tests for the xen-xl parser (Kiarie Kahurani)
- Introduce support for parsing/formatting Xen xl config format (Jim Fehlig)
- qemu_process: detect updated video ram size values from QEMU (Pavel Hrdina)
- qemu_monitor: introduce new function to get QOM path (Pavel Hrdina)
- qemu, lxc: Warn if setting QoS on unsupported vNIC types (Michal Privoznik)
- conf: Increase virNetDevBandwidthParse intelligence (Michal Privoznik)
- Give virDomainDef parser & formatter their own flags (Daniel P. Berrange)
- Decouple CPU XML formatting from domain XML public API flags (Daniel P.
Berrange)
- formatdomaincaps: Correctly format API reference (Michal Privoznik)
- Fix flags passed to virDomainDefParseString by XenAPI driver (Daniel P.
Berrange)
- Add stub virDomainDefineXMLFlags impls (Daniel P. Berrange)
- Add new virDomainDefineXMLFlags public API (Daniel P. Berrange)
- qemu: Allow enabling/disabling features with host-passthrough (Martin
Kletzander)
- lxc: Move setting ifname_guest_actual to virLXCSetupInterfaces (Guido Günther)
- openvz: Check errors from virSocketAddrFormat (John Ferlan)
- qxl: change the default value for vgamem_mb to 16 MiB (Pavel Hrdina)
- virsh: Emit error for VSH_OT_DATA without VSH_OFLAG_REQ (Hao Liu)
- safezero: fall back to writing zeroes even when resizing (Ján Tomko)
- maint: in src/Makefile.am, $(top_srcdir)/src is verbose (Eric Blake)
- nwfilter: Add support for icmpv6 filtering (Stefan Berger)
- Parallels: Add VNC hostname setup (Alexander Burluka)
- qemu: fix miss goto cleanup in qemuDomainAttachNetDevice (Luyao Huang)
- networkGetDHCPLeases: Remove unnecessary error reporting (Nehal J Wani)
- qemu: use a wrong name for guest panic status (Luyao Huang)
- maint: update to latest gnulib (Eric Blake)
- Report error if a driver can't handle multiple IP addresses (Cédric Bosdonnat)
- Openvz --ipadd can be provided multiple times (Cédric Bosdonnat)
- LXC: honour network devices link state (Cédric Bosdonnat)
- LXC: use the new net devices routes definition (Cédric Bosdonnat)
- lxc conf2xml: convert lxc.network.ipv[46].gateway (Cédric Bosdonnat)
- Domain network devices can now have a <route> element (Cédric Bosdonnat)
- lxc conf2xml: convert ip addresses for hostdev NICs (Cédric Bosdonnat)
- Allow network capabilities hostdev to configure IP addresses (Cédric Bosdonnat)
- lxc conf2xml: convert IP addresses (Cédric Bosdonnat)
- LXC: set IP addresses to veth devices in the container (Cédric Bosdonnat)
- Domain conf: allow more than one IP address for net devices (Cédric Bosdonnat)
- Renamed virNetDevClearIPv4Address to virNetDevClearIPAddress (Cédric Bosdonnat)
- virNetDevClearIPv4Address: netlink implementation (Cédric Bosdonnat)
- virNetDevAddRoute: implementation using netlink (Cédric Bosdonnat)
- Renamed virNetDevSetIPv4Address to virNetDevSetIPAddress (Cédric Bosdonnat)
- virNetDevSetIPv4Address: libnl implementation (Cédric Bosdonnat)
- Forgot to cleanup ifname_guest* in domain network def parsing (Cédric Bosdonnat)
- maint: fix date in local gnulib patch (Daniel P. Berrange)
- maint: update to latest gnulib (Daniel P. Berrange)
- Teach AppArmor, that /usr/lib64 may exist. (Cedric Bosdonnat)
- Add tests to xmconfigtest (Chunyan Liu)
- xenconfig: set HVM pae/apic/acpi/ default to 1 (Chunyan Liu)
- src/xenconfig: Export helper functions (Kiarie Kahurani)
- capabilities: Format <domain/> properly (Michal Privoznik)
- parallels: report, that cdrom image is raw (Dmitry Guryanov)
- tests: Set up two more overrides for root builders (Martin Kletzander)
- test: fix nwfilter tests following changes in virfirewall.c (Stefan Berger)
- qemu: completely rework reference counting (Martin Kletzander)
- maint: update .mailmap (Claudio Bley)
- qemu: Create memory-backend-{ram,file} iff needed (Michal Privoznik)
- Remove redundant cleanup in qemuDomainAttachVirtioDiskDevice (Ján Tomko)
- Fix error message on redirdev caps detection (Ján Tomko)
- logical: Add "--type snapshot" to lvcreate command (John Ferlan)
- getstats: crawl backing chain for qemu (Eric Blake)
- getstats: split block stats reporting for easier recursion (Eric Blake)
- getstats: add new flag for block backing chain (Eric Blake)
- getstats: prepare for dynamic block.count stat (Eric Blake)
- getstats: report block sizes for offline domains (Eric Blake)
- qemu: refactor blockinfo data gathering (Eric Blake)
- getstats: rearrange blockinfo gathering (Eric Blake)
- getstats: perform recursion in monitor collection (Eric Blake)
- getstats: prepare monitor collection for recursion (Eric Blake)
- qemu: let blockinfo reuse virStorageSource (Eric Blake)
- qemu: refactor blockinfo job handling (Eric Blake)
- build: fix typo in previous patch (Eric Blake)
- virstoragefile: Have virStorageFileResize use safezero (John Ferlan)
- virfile: Refactor safezero (John Ferlan)
- conf: Rework virDomainObjListFindByUUID to allow more concurrent APIs
(Martin Kletzander)
- storage: unify permission formatting (Martin Kletzander)
- qemu: Leave cpuset.mems in parent cgroup alone (Martin Kletzander)
- qemu: Save numad advice into qemuDomainObjPrivate (Martin Kletzander)
- qemu: Remove unnecessary qemuSetupCgroupPostInit function (Martin Kletzander)
- util: Add virNumaGetHostNodeset (Martin Kletzander)
- util: Add function virCgroupHasEmptyTasks (Martin Kletzander)
- spec: Fix syntax (Jiri Denemark)
- spec: Disable -Werror in Fedora RPM builds (Daniel P. Berrange)
- parallels: set format for real disk devices (Dmitry Guryanov)
- parallels: support NULL virDomainVideoAccelDefPtr (Dmitry Guryanov)
- qemu: add/remove bridge fdb entries as guest CPUs are started/stopped (Laine
Stump)
- qemu: make persistent update of graphics device supported (Wang Rui)
- qemu: fix alignment of qemuDomainFindGraphics (Wang Rui)
- qemu: report properer error number when change graphics failed (Wang Rui)
- qemu: Allow system pages to <memoryBacking/> (Michal Privoznik)
- virconf: Introduce VIR_CONF_ULONG (Michal Privoznik)
- virConfType: switch to VIR_ENUM_{DECL,IMPL} (Michal Privoznik)
- virConfSetValue: Simplify condition (Michal Privoznik)
- conf: move the check for secondary consoles of targetType serial (Erik Skultety)
- qemu: add a qemuInterfaceStopDevices(), called when guest CPUs stop (Laine
Stump)
- qemu: always call qemuInterfaceStartDevices() when starting CPUs (Laine Stump)
- conf: Ignore device address for model=none usb controller and memballon
(Luyao Huang)
Cleanup:
- Indentation (Ján Tomko)
Thanks everybody for helping with this release,
Daniel
--
Daniel Veillard | Open Source and Standards, Red Hat
veillard(a)redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | virtualization library http://libvirt.org/
--
libvir-list mailing list
libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
9 years, 2 months
Re: [fedora-virt] Cannot start 2 VMs on F21
by Cole Robinson
On 01/27/2015 11:03 AM, Jerry James wrote:
> I asked the question below on the virt mailing list about 2 weeks ago.
> There have been a grand total of zero responses so far. I'll ask the
> same question here, in hopes that somebody knows something that could
> help.
>
> On Wed, Jan 14, 2015 at 11:19 AM, Jerry James <loganjerry(a)gmail.com> wrote:
>> Greetings,
>>
>> I recently upgraded my work machine from F20 to F21, via fedup. Now I
>> cannot run two VMs at the same time, as I used to be able to do, at
>> least with virt-manager. If I try to start a second VM via
>> virt-manager, I get an error message:
>>
>> ------------------------------------------------------------------------------
>> Error starting domain: Unable to read from monitor: Connection reset by peer
>>
>> Details:
>> Error starting domain: Unable to read from monitor: Connection reset by peer
>>
>> Traceback (most recent call last):
>> File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
>> callback(asyncjob, *args, **kwargs)
>> File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb
>> callback(*args, **kwargs)
>> File "/usr/share/virt-manager/virtManager/domain.py", line 1388, in startup
>> self._backend.create()
>> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 999, in create
>> if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
>> libvirtError: Unable to read from monitor: Connection reset by peer
>>
>> Close
>> ------------------------------------------------------------------------------
>>
>> I can start any of my VMs, if there is no other VM running. After
>> starting any VM, attempting to start any other VM as a second instance
>> triggers this failure.
>>
>> I will paste the contents of /var/log/messages from the latest
>> attempt. In this case, qemu-Rawhide32 is the VM that was already
>> running, and had been running for some time, so I don't understand the
>> "New machine" message. I'm trying to start the qemu-CentOS7 machine.
>>
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): carrier is OFF
>> Jan 14 11:02:36 diannao kernel: [94268.464579] device vnet1 entered
>> promiscuous mode
>> Jan 14 11:02:36 diannao kernel: [94268.467198] virbr0: port 3(vnet1)
>> entered listening state
>> Jan 14 11:02:36 diannao kernel: [94268.467211] virbr0: port 3(vnet1)
>> entered listening state
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): new Tun
>> device (driver: 'unknown' ifindex: 7)
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): exported
>> as /org/freedesktop/NetworkManager/Devices/6
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (virbr0): bridge
>> port vnet1 was attached
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): enslaved to virbr0
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
>> state change: unmanaged -> unavailable (reason 'connection-assumed')
>> [10 20 41]
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): link connected
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
>> state change: unavailable -> disconnected (reason
>> 'connection-assumed') [20 30 41]
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) starting connection vnet1'
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 1 of 5 (Device Prepare) scheduled...
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 1 of 5 (Device Prepare) started...
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
>> state change: disconnected -> prepare (reason 'none') [30 40 0]
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 2 of 5 (Device Configure) scheduled...
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 1 of 5 (Device Prepare) complete.
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 2 of 5 (Device Configure) starting...
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
>> state change: prepare -> config (reason 'none') [40 50 0]
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 2 of 5 (Device Configure) successful.
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 2 of 5 (Device Configure) complete.
>> Jan 14 11:02:36 diannao dbus[838]: [system] Activating via systemd:
>> service name='org.freedesktop.machine1'
>> unit='dbus-org.freedesktop.machine1.service'
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 3 of 5 (IP Configure Start) scheduled.
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 3 of 5 (IP Configure Start) started...
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
>> state change: config -> ip-config (reason 'none') [50 70 0]
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
>> (vnet1) Stage 3 of 5 (IP Configure Start) complete.
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
>> state change: ip-config -> secondaries (reason 'none') [70 90 0]
>> Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
>> state change: secondaries -> activated (reason 'none') [90 100 0]
>> Jan 14 11:02:36 diannao dbus[838]: [system] Successfully activated
>> service 'org.freedesktop.machine1'
>> Jan 14 11:02:36 diannao kernel: device vnet1 entered promiscuous mode
>> Jan 14 11:02:36 diannao kernel: virbr0: port 3(vnet1) entered listening state
>> Jan 14 11:02:36 diannao kernel: virbr0: port 3(vnet1) entered listening state
>> Jan 14 11:02:37 diannao systemd-machined: New machine qemu-Rawhide32.
>> Jan 14 11:02:37 diannao systemd-machined: New machine qemu-CentOS7.
>> Jan 14 11:02:37 diannao NetworkManager[946]: <info> Activation
>> (vnet1) successful, device activated.
>> Jan 14 11:02:37 diannao dbus[838]: [system] Activating via systemd:
>> service name='org.freedesktop.nm_dispatcher'
>> unit='dbus-org.freedesktop.nm-dispatcher.service'
>> Jan 14 11:02:37 diannao dbus[838]: [system] Successfully activated
>> service 'org.freedesktop.nm_dispatcher'
>> Jan 14 11:02:37 diannao nm-dispatcher: Dispatching action 'up' for vnet1
>> Jan 14 11:02:37 diannao systemd: Unit iscsi.service cannot be reloaded
>> because it is inactive.
>> Jan 14 11:02:37 diannao systemd: Unit named.service cannot be reloaded
>> because it is inactive.
>> Jan 14 11:02:37 diannao kernel: [94269.394707] qemu-system-x86:
>> sending ioctl 5326 to a partition!
>> Jan 14 11:02:37 diannao kernel: qemu-system-x86: sending ioctl 5326 to
>> a partition!
>> Jan 14 11:02:37 diannao kernel: qemu-system-x86: sending ioctl
>> 80200204 to a partition!
>> Jan 14 11:02:37 diannao kernel: [94269.394737] qemu-system-x86:
>> sending ioctl 80200204 to a partition!
>> Jan 14 11:02:37 diannao kernel: [94269.448193] virbr0: port 3(vnet1)
>> entered disabled state
>> Jan 14 11:02:37 diannao kernel: virbr0: port 3(vnet1) entered disabled state
>> Jan 14 11:02:37 diannao kernel: device vnet1 left promiscuous mode
>> Jan 14 11:02:37 diannao kernel: [94269.448871] device vnet1 left
>> promiscuous mode
>> Jan 14 11:02:37 diannao kernel: [94269.448894] virbr0: port 3(vnet1)
>> entered disabled state
>> Jan 14 11:02:37 diannao kernel: virbr0: port 3(vnet1) entered disabled state
>> Jan 14 11:02:37 diannao NetworkManager[946]: <info> (vnet1): device
>> state change: activated -> unmanaged (reason 'removed') [100 10 36]
>> Jan 14 11:02:37 diannao NetworkManager[946]: <info> (vnet1):
>> deactivating device (reason 'removed') [36]
>> Jan 14 11:02:37 diannao journal: Unable to read from monitor:
>> Connection reset by peer
>> Jan 14 11:02:37 diannao NetworkManager[946]: <warn> (virbr0): failed
>> to detach bridge port vnet1
>> Jan 14 11:02:37 diannao NetworkManager[946]: nm_device_get_iface:
>> assertion 'self != NULL' failed
>> Jan 14 11:02:37 diannao NetworkManager[946]: <info> (vnet1): released
>> from master (null)
>> Jan 14 11:02:37 diannao systemd-machined: Machine qemu-CentOS7 terminated.
>> Jan 14 11:02:37 diannao journal: error from service: TerminateMachine:
>> No machine 'qemu-CentOS7' known
>> Jan 14 11:02:38 diannao nm-dispatcher: Dispatching action 'down' for vnet1
>> Jan 14 11:02:38 diannao gnome-session: Gjs-Message: JS LOG: Removing a
>> network device that was not added
>> Jan 14 11:02:38 diannao systemd: Unit named.service cannot be reloaded
>> because it is inactive.
>>
>>
>> It looks like there is some kind of trouble setting up the network for
>> the second VM. Does anybody have any suggestions for things I could
>> try to resolve this? Are there known issues with upgrading from F20
>> to F21? Thank you,
>
Please file a bug against libvirt, and include:
1) sudo virsh dumpxml $vmname
2) /var/log/libvirt/qemu/$vmname.log
for the failing VM
- Cole
9 years, 2 months
Cannot start 2 VMs on F21
by Jerry James
Greetings,
I recently upgraded my work machine from F20 to F21, via fedup. Now I
cannot run two VMs at the same time, as I used to be able to do, at
least with virt-manager. If I try to start a second VM via
virt-manager, I get an error message:
------------------------------------------------------------------------------
Error starting domain: Unable to read from monitor: Connection reset by peer
Details:
Error starting domain: Unable to read from monitor: Connection reset by peer
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1388, in startup
self._backend.create()
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 999, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: Unable to read from monitor: Connection reset by peer
Close
------------------------------------------------------------------------------
I can start any of my VMs, if there is no other VM running. After
starting any VM, attempting to start any other VM as a second instance
triggers this failure.
I will paste the contents of /var/log/messages from the latest
attempt. In this case, qemu-Rawhide32 is the VM that was already
running, and had been running for some time, so I don't understand the
"New machine" message. I'm trying to start the qemu-CentOS7 machine.
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): carrier is OFF
Jan 14 11:02:36 diannao kernel: [94268.464579] device vnet1 entered
promiscuous mode
Jan 14 11:02:36 diannao kernel: [94268.467198] virbr0: port 3(vnet1)
entered listening state
Jan 14 11:02:36 diannao kernel: [94268.467211] virbr0: port 3(vnet1)
entered listening state
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): new Tun
device (driver: 'unknown' ifindex: 7)
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): exported
as /org/freedesktop/NetworkManager/Devices/6
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (virbr0): bridge
port vnet1 was attached
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): enslaved to virbr0
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
state change: unmanaged -> unavailable (reason 'connection-assumed')
[10 20 41]
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): link connected
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
state change: unavailable -> disconnected (reason
'connection-assumed') [20 30 41]
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) starting connection vnet1'
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 1 of 5 (Device Prepare) scheduled...
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 1 of 5 (Device Prepare) started...
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
state change: disconnected -> prepare (reason 'none') [30 40 0]
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 2 of 5 (Device Configure) scheduled...
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 1 of 5 (Device Prepare) complete.
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 2 of 5 (Device Configure) starting...
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
state change: prepare -> config (reason 'none') [40 50 0]
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 2 of 5 (Device Configure) successful.
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 2 of 5 (Device Configure) complete.
Jan 14 11:02:36 diannao dbus[838]: [system] Activating via systemd:
service name='org.freedesktop.machine1'
unit='dbus-org.freedesktop.machine1.service'
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 3 of 5 (IP Configure Start) scheduled.
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 3 of 5 (IP Configure Start) started...
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
state change: config -> ip-config (reason 'none') [50 70 0]
Jan 14 11:02:36 diannao NetworkManager[946]: <info> Activation
(vnet1) Stage 3 of 5 (IP Configure Start) complete.
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
state change: ip-config -> secondaries (reason 'none') [70 90 0]
Jan 14 11:02:36 diannao NetworkManager[946]: <info> (vnet1): device
state change: secondaries -> activated (reason 'none') [90 100 0]
Jan 14 11:02:36 diannao dbus[838]: [system] Successfully activated
service 'org.freedesktop.machine1'
Jan 14 11:02:36 diannao kernel: device vnet1 entered promiscuous mode
Jan 14 11:02:36 diannao kernel: virbr0: port 3(vnet1) entered listening state
Jan 14 11:02:36 diannao kernel: virbr0: port 3(vnet1) entered listening state
Jan 14 11:02:37 diannao systemd-machined: New machine qemu-Rawhide32.
Jan 14 11:02:37 diannao systemd-machined: New machine qemu-CentOS7.
Jan 14 11:02:37 diannao NetworkManager[946]: <info> Activation
(vnet1) successful, device activated.
Jan 14 11:02:37 diannao dbus[838]: [system] Activating via systemd:
service name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'
Jan 14 11:02:37 diannao dbus[838]: [system] Successfully activated
service 'org.freedesktop.nm_dispatcher'
Jan 14 11:02:37 diannao nm-dispatcher: Dispatching action 'up' for vnet1
Jan 14 11:02:37 diannao systemd: Unit iscsi.service cannot be reloaded
because it is inactive.
Jan 14 11:02:37 diannao systemd: Unit named.service cannot be reloaded
because it is inactive.
Jan 14 11:02:37 diannao kernel: [94269.394707] qemu-system-x86:
sending ioctl 5326 to a partition!
Jan 14 11:02:37 diannao kernel: qemu-system-x86: sending ioctl 5326 to
a partition!
Jan 14 11:02:37 diannao kernel: qemu-system-x86: sending ioctl
80200204 to a partition!
Jan 14 11:02:37 diannao kernel: [94269.394737] qemu-system-x86:
sending ioctl 80200204 to a partition!
Jan 14 11:02:37 diannao kernel: [94269.448193] virbr0: port 3(vnet1)
entered disabled state
Jan 14 11:02:37 diannao kernel: virbr0: port 3(vnet1) entered disabled state
Jan 14 11:02:37 diannao kernel: device vnet1 left promiscuous mode
Jan 14 11:02:37 diannao kernel: [94269.448871] device vnet1 left
promiscuous mode
Jan 14 11:02:37 diannao kernel: [94269.448894] virbr0: port 3(vnet1)
entered disabled state
Jan 14 11:02:37 diannao kernel: virbr0: port 3(vnet1) entered disabled state
Jan 14 11:02:37 diannao NetworkManager[946]: <info> (vnet1): device
state change: activated -> unmanaged (reason 'removed') [100 10 36]
Jan 14 11:02:37 diannao NetworkManager[946]: <info> (vnet1):
deactivating device (reason 'removed') [36]
Jan 14 11:02:37 diannao journal: Unable to read from monitor:
Connection reset by peer
Jan 14 11:02:37 diannao NetworkManager[946]: <warn> (virbr0): failed
to detach bridge port vnet1
Jan 14 11:02:37 diannao NetworkManager[946]: nm_device_get_iface:
assertion 'self != NULL' failed
Jan 14 11:02:37 diannao NetworkManager[946]: <info> (vnet1): released
from master (null)
Jan 14 11:02:37 diannao systemd-machined: Machine qemu-CentOS7 terminated.
Jan 14 11:02:37 diannao journal: error from service: TerminateMachine:
No machine 'qemu-CentOS7' known
Jan 14 11:02:38 diannao nm-dispatcher: Dispatching action 'down' for vnet1
Jan 14 11:02:38 diannao gnome-session: Gjs-Message: JS LOG: Removing a
network device that was not added
Jan 14 11:02:38 diannao systemd: Unit named.service cannot be reloaded
because it is inactive.
It looks like there is some kind of trouble setting up the network for
the second VM. Does anybody have any suggestions for things I could
try to resolve this? Are there known issues with upgrading from F20
to F21? Thank you,
--
Jerry James
http://www.jamezone.org/
9 years, 3 months
Re: [fedora-virt] [Qemu-devel] Fedora FC21 - Bug: 100% CPU and hangs in gettimeofday(&tp, NULL); forever
by Paolo Bonzini
On 13/01/2015 21:13, Gerhard Wiesinger wrote:
>
> It happens also with qemu-kvm 2.2.0 on another VM where also PostgreSQL
> is running:
> (gdb) bt
> #0 0x00007fff9a1feff4 in gettimeofday ()
> #1 0x00000000006d425e in GetCurrentTimestamp () at timestamp.c:1274
>
> What we know:
> OK : F20: 3.17.6-200.fc20.x86_64 on guest/host,
> qemu-kvm-1.6.2-10.fc20.x86_64 on host
> NOK: F21: 3.17.7-300.fc21.x86_64 on guest/host,
> qemu-kvm-2.1.2-7.fc21.x86_64 on host
> NOK: F21: 3.17.8-300.fc21.x86_64 on guest/host,
> qemu-kvm-2.2.0-1.fc21.x86_64 on host
>
> No one less can reproduce or has similar problems?
> Any further ideas?
Hmm, too bad. :(
Any chance you can try with 1.7 and 2.0 releases? Cole, perhaps you
help building some RPMS for Gerhard?
Paolo
9 years, 3 months
Re: [fedora-virt] Some USB devices are blocked by host policy
by Fred Brier
On 01/08/2015 02:12 AM, Hans de Goede wrote:
> Hi,
>
> On 07-01-15 15:37, Cole Robinson wrote:
>> On 01/06/2015 12:08 AM, Frederick N. Brier wrote:
>>> I'm using Spice and want to share a USB device on workstation with a VM
>>> running on another physical host. The filters are all set up for
>>> the VM in
>>> its domain XML. The Spice "Select USB devices for redirection"
>>> dialog shows
>>> the device I want to redirect. However, all the USB devices are
>>> greyed out
>>> and Alert text says, "Some USB devices are blocked by host policy". My
>>> understanding, from the doc
>>> <https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/...>,
>>>
>>> is that the following XML needs to be configured on the "host physical
>>> machine's domain XML" which I am interpreting as the workstation,
>>> although it
>>> could be the hypervisor host, to unblock the USB device:
>>>
>>> <redirfilter>
>>> <usbdev class='0x08' vendor='0x0951' product='0x1625'
>>> version='2.0' allow='yes'/>
>>> <usbdev allow='no'/>
>>> </redirfilter>
>>>
>>> Either way, I cannot figure out what the name or location of the
>>> file where
>>> this XML would go, let alone find a complete schema or example of
>>> what the
>>> file would look like. Has anyone else done this? Please... <gasp>
>>> Help!
>>>
>>
>> I've never seen that message before. Can you provide the guest XML
>> you are
>> using? And maybe upload a screenshot somewhere of what you are seeing in
>> virt-viewer.
>>
>> What type of device are you trying to passthrough?
>>
>> CCing hans who is the usbredir expert
>
> This message is shown by Spice's USB redirection code when USB device
> filtering
> is used, and the device gets rejected by the policy. In this case the xml
> which you quote will only allow one specific device to be redirected.
>
> If you remove the entire <redirfilter> ... </redirfilter> block from
> the xml
> config for your vm, then the message should go away, and you should be
> able to
> redirect any device.
>
> Regards,
>
> Hans
Hans, thank you very much. Removing the filter un-greyed the USB
devices. Obviously, I don't understand the filtering element - yet :).
I was hoping I'd be able to report that Rocksmith 2014 works great.
Unfortunately, although it installed without a problem, I am now
tracking down why it is generating a "Unable to initialize graphics
system" dialog <sigh>. So much for being an uber-geek. BTW, have any
of you played with the nwfilter feature of KVM? I ran into an odd bug
<https://bugzilla.redhat.com/show_bug.cgi?id=1114720> a while back and
there hasn't been any movement on it. I came up with a rubber band and
bubblegum solution which I mention in the bug report, so it's not an
emergency, just annoying. Spice is way cool as is this USB redirection
feature. Thank you both for writing it and help me.
Fred
9 years, 3 months
Some USB devices are blocked by host policy
by Fred Brier
I'm using Spice and want to share a USB device on workstation with a VM
running on another physical host. The filters are all set up for the VM
in its domain XML. The Spice "Select USB devices for redirection"
dialog shows the device I want to redirect. However, all the USB
devices are greyed out and Alert text says, "Some USB devices are
blocked by host policy". My understanding, from the doc
<https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/...>,
is that the following XML needs to be configured on the "host physical
machine's domain XML" which I am interpreting as the workstation,
although it could be the hypervisor host, to unblock the USB device:
<redirfilter>
<usbdev class='0x08' vendor='0x0951' product='0x1625' version='2.0' allow='yes'/>
<usbdev allow='no'/>
</redirfilter>
Either way, I cannot figure out what the name or location of the file
where this XML would go, let alone find a complete schema or example of
what the file would look like. Has anyone else done this? Please...
<gasp> Help!
9 years, 3 months