Displaying 20 results from an estimated 443 matches for "chardev".
2011 Feb 10
2
Start domain with usable QMP connection?
...via QMP (without hacking the code)?
The command line that libvirt creates for my current setup looks like this:
/usr/local/bin/qemu-system-x86_64 -S -M pc-0.12 -enable-kvm -m 512
-smp 1,sockets=1,cores=1,threads=1 -name winxpsp2 -uuid
ab244939-c804-1aff-68b6-9324f174c3c8 -nodefconfig -nodefaults -chardev
socket,id=monitor,path=/usr/local/var/lib/libvirt/qemu/winxpsp2.monitor,server,nowait
-mon chardev=monitor,mode=control -rtc base=localtime -boot c -drive
file=/var/lib/libvirt/images/winxpsp2.img,if=none,id=drive-ide0-0-0,format=raw
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0...
2013 Nov 17
2
Unable to use more than 4 serial devices at once.
...13-11-17 17:37:45.901+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
QEMU_AUDIO_DRV=none /usr/bin/kvm -name Ubuntu12.04-Cisco -S -M pc-1.0 -m
1024 -smp 2,sockets=2,cores=1,threads=1 -uuid
1837c56f-6f84-2abe-8bdd-d7c974803b84 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/Ubuntu12.04-Cisco.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
file=/mnt/DiskRepo/Ubuntu12.04-TFTP.qcow2,if=none,id=drive-virtio-disk0,fo...
2013 Nov 19
0
Re: Unable to use more than 4 serial devices at once.
...ocal/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
> > QEMU_AUDIO_DRV=none /usr/bin/kvm -name Ubuntu12.04-Cisco -S -M pc-1.0 -m
> 1024
> > -smp 2,sockets=2,cores=1,threads=1 -uuid
> 1837c56f-6f84-2abe-8bdd-d7c974803b84
> > -no-user-config -nodefaults -chardev
> >
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/Ubuntu12.04-Cisco.monitor,server,nowait
> > -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
> > -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
> >
>...
2019 Mar 28
1
Error Starting domain: Failed to page size of file
..._AUDIO_DRV=spice /usr/bin/kvm-spice -name VM1 -S -machine
pc-i440fx-xenial,accel=kvm,usb=off -cpu Broadwell-IBRS -m 3072
-mem-prealloc -mem-path /dev/hugepages/libvirt/qemu -realtime mlock=off
-smp 2,sockets=2,cores=1,threads=1 -uuid
41b4eef0-b820-41da-9034-9de22e1379e0 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-VM1/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict...
2017 Oct 03
2
Re: error: internal error: missing backend for pool type 11 (zfs)
.../Downloads/#IMAGES#/Fedora-Workstation-Live-x86_64-26-1.5.iso,format=raw,if=none,id=drive-ide0-0-1,readonly=on'
-device
ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1,bootindex=1
-netdev user,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:ad:21:19,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-se'*
*Traceback (most recent call last):*
* File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in
cb_wrapper*
* call...
2016 Sep 15
0
New error: Failed to create chardev
...er operating systems, and they've been running fine for the last year,
through rebuilds, etc.
In the last week, PCs that have been rebuilt no longer start our VMs,
failing with the error:
error: internal error: process exited while connecting to monitor:
2016-09-15T10:15:12.839724Z qemu-kvm: -chardev pty,id=charserial0: Failed
to create chardev
Various sites list remounting /dev/pts to solve this, with the command:
mount -n -t devpts -o remount,mode=0620,gid=5 devpts /dev/pts
After this command, the mount entry for devpts changed:
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,se...
2015 Jul 09
2
adding devices and chardev in .xml configuration file ...
Hi,
As I want to start qemu by adding following parameters :
-device virtio-serial
-chardev socket,path=/tmp/foo,server,nowait,id=test
-device virtserialport,chardev=test,name=port.0
Is it possible to add them in the .xml configuration file of the guest , so they will be automatically added when the guest is started ?
If yes , any doc describing the syntax ?
Thx.
Regards,
J.P. Ribea...
2017 Oct 03
2
Re: error: internal error: missing backend for pool type 11 (zfs)
@Michal: Thanks for your reply!
Indeed I have found a package in the AUR (libvirt-zfs) and only had to
change to the current version and add zfs-utils as dependency in the
PKGBUILD. Now I don't get the previous error anymore but I still cannot
setup a VM because I constantly get errors due to wrong permissions.
I have tried to change the permissions in:
- /etc/libvirt/qemu.conf
-
2011 Dec 11
5
New Guess OS Creation Problem
...ile
-- Log start --
2011-12-12 00:23:39.485: starting up
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M rhel6.1.0 -enable-kvm -m 4096 -smp 1,sockets=1,cores=1,threads=1 -name database -uuid f3e9f320-7826-7e50-94bb-1833f7fd9dfb -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/database.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -drive file=/opt/cibai/database,if=none,id=drive-ide0-0-0,format=raw,cache=none,aio=threads -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0...
2017 Jun 19
0
VM fails to start on boot-up
...,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-MyVM/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off,vmport=off -cpu Broadwell,+rtm,+hle -m 8192 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid cb6f4d45-091d-47f8-931a-8daf6b0cf2b8 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-1-MyVM/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot men...
2018 Nov 12
1
virsh reboot "in shutdown" state?
...-guest-core=off -cpu Westmere,vme=on,ss=on,pclmuldq=on,pcid=on,x2apic=on,tsc-deadline=on,hypervisor=on,arat=on,tsc_adjust=on,umip=on,pdpe1gb=on,rdtscp=on,topoext=on -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 8060a1de-66e9-4300-8677-0fdb0f830379 -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=52,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot menu=on,strict=on -device ich9-usb-ehci1,id=usb,bus=p...
2012 Apr 06
1
qemu-kvm fails on RHEL6
...evices in my setup. Any idea why is that?
bash$ LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M rhel6.2.0 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name instance-00000027 -uuid a93aeed9-15f7-4ded-b6b3-34c8d2c101a8 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000027.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -kernel /home/sumitsen/openstack/nova/instances/instance-00000027/kernel -initrd /home/sumitsen/openstack/nova/instances/instance-0000...
2017 Jun 20
0
Re: VM fails to start on boot-up
...,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-MyVM/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off,vmport=off -cpu Broadwell,+rtm,+hle -m 8192 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid cb6f4d45-091d-47f8-931a-8daf6b0cf2b8 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-1-MyVM/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot men...
2019 Mar 26
1
Problem passing qemu cmdline option when using <qemu:commandline> in domain xml.
【Sorry there I maked some mistake in my first email, here is the correct one.】
I am trying to pass-through the parallel port of the host to the guest.
When I just used qemu-system-x86_64 with option '-chardev parallel,id=charparallel0,path=/dev/parport0 -device isa-parallel,chardev=charparallel0,id=parallel0', it worked perfect.
But when I tried to pass these option by adding lines below to the domain xml,
...
</device>
<qemu:commandline>
<qemu:args value='-chardev'/>...
2015 Jan 05
2
use of qemu-kvm --chardev pipe, id=X, path=... argument ?
...nel /home/rpmbuild/OEL6/boot/vmlinuz-2.6.39-400.215.14.el6uek.i686 \
-initrd /home/rpmbuild/OEL6/boot/initramfs
2.6.39-400.215.14.el6uek.i686.img \
-append 'root=/dev/sda rw selinux=0 enforcing=0 console=0' \
-m 2048 -k en-gb -nographic -vga none -vnc none -enable-kvm \
-chardev pipe,id=0,path=/tmp/el6x32 -monitor pipe:/tmp/el6x32.monitor
But this ends up with the kernel's console on qemu-kvm's STDIO .
I actually want the console to be redirected to take input from
/tmp/el6x32.in and direct output to /tmp/el6x32.out -
I thought that was what the above '-char...
2016 Oct 30
3
Cannot boot CentOS 7 VM after updating Host CentOS 7 Kernel
Any error in your host logs?
On Sunday, 30 October 2016, Steven Tardy <sjt5atra at gmail.com> wrote:
>
> > On Oct 30, 2016, at 3:27 AM, Paul R. Ganci <ganci at nurdog.com
> <javascript:;>> wrote:
> >
> > grub> set root=(hd0,msdos2)
> > grub> linux (hd0,1)/vmlinuz-3.10.0-327.36.2.el7.x86_64
> root=(hd0,msdos2)/
> > grub> initrd
2015 Jan 05
1
Re: use of qemu-kvm --chardev pipe, id=X, path=... argument ?
...ld/OEL6/img/OEL6_32.img -kernel
/home/rpmbuild/OEL6/boot/vmlinuz-2.6.39-400.215.14.el6uek.i686 -initrd
/home/rpmbuild/OEL6/boot/initramfs-2.6.39-400.215.14.el6uek.i686.img
-append 'root=/dev/sda rw selinux=0 enforcing=0 console=0' -m 2048 -k
en-gb -nographic -vga none -vnc none -enable-kvm -chardev
pipe,id=0,path=/tmp/el6x32 -chardev tty,id=1,path=/dev/pts/4 -monitor
stdio -nodefaults
QEMU 0.12.1 monitor - type 'help' for more information
(qemu) info status
VM status: running
(qemu)
In another terminal I connect to the input pipe:
$ cat >>/tmp/el632.in
But no output appears...
2014 Jun 15
2
Re: Fedora 19/20 new install :Unable to create vcpu cgroup
...bvirt-daemon-kvm-1.1.3.5-2.fc20.x86_64
libvirt-glib-0.1.7-2.fc20.x86_64
libvirt-python-1.1.3.5-2.fc20.x86_64
When trying to create a new VM using virt-manager I am getting :
Impossible de terminer l'installation : « internal error: process exited
while connecting to monitor: Failed to create chardev
»
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in
cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 1787, in
do_install
guest.start_install(meter=m...
2016 Mar 17
1
Broken KVM System CentOS 7.2
...dk2.git/ovmf-x64/OVMF_CODE-pure-
efi.fd,if=pflash,format=raw,unit=0,readonly=on -drive file=/var/lib/libvirt/qemu/
nvram/ipa1u_VARS.fd,if=pflash,format=raw,unit=1 -m 4096 -realtime mlock=off -
smp 4,sockets=4,cores=1,threads=1 -uuid 64e10bd8-bb61-42e7-937f-a08e3af82c0a -
no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/
libvirt/qemu/domain-ipa1u/monitor.sock,server,nowait -mon
chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global
kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global
PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot...
2016 Mar 17
2
Broken KVM System CentOS 7.2
Hello,
CentOS 7.2
I have three Server on all is now broken the KVM System, it is not possible to
start KVM Clients ?
Have any a hint why ?
Thanks for a answer
--
mit freundlichen Gr??en / best regards,
G?nther J. Niederwimmer