Comments (6)
I found out that with libvirt 1.3 I can use:
-device virtio-rng-pci
to supply a hardware random number generator to the VM.
Anyway to specify some devices within the terraform resources would be appreciated.
from terraform-provider-libvirt.
@fisabelle What do you mean with emulator CPU type? Can you paste the ps
output that shows the qemu command line libvirt is using?
from terraform-provider-libvirt.
Hi.
This is what is being used:
/usr/libexec/qemu-kvm -name centos7_vm_domain_78,debug-threads=on -S -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off -m 4096 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 692e3a40-54e3-4921-a27e-77e943ea58e4 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-54-centos7_vm_domain_78/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -no-acpi -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/home/vmstore/ramdisk/centos7_vm_disk_78,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=45,id=hostnet0,vhost=on,vhostfd=47 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:a1:a3:78,bus=pci.0,addr=0x3 -spice port=5909,addr=127.0.0.1,disable-ticketing,seamless-migration=on -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on
For some reason, I'm experiencing long delays during the initialization of a keystore component in my VM. At first I though this to be due to the CPU type selection but it turned out to be due to the default random number generator in the VM, it is very slow to accumulate data.
I noticed that if I use: -device virtio-rng-pci as an extra device in my VM, this process if much faster.
So, this is why I want to be able to specify additional device specifications in the terraform resource file.
Thank you.
François.
from terraform-provider-libvirt.
I think this bug can be closed, the latest code adds a virtio random generator to all the domains.
from terraform-provider-libvirt.
That's excellent! I'll try it as soon as possible.
Le 15 oct. 2016 3:17 PM, "Flavio Castelli" [email protected] a
écrit :
I think this bug can be closed, the latest code adds a virtio random
generator to all the domains.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#24 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARnXvdG7S-tBTGyaLFGl6HIe8mNBwSkHks5q0SbXgaJpZM4IspCX
.
from terraform-provider-libvirt.
Tried it today. works well for me, thank you.
2016-10-15 15:18 GMT-04:00 François Isabelle [email protected]
:
That's excellent! I'll try it as soon as possible.
Le 15 oct. 2016 3:17 PM, "Flavio Castelli" [email protected] a
écrit :I think this bug can be closed, the latest code adds a virtio random
generator to all the domains.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#24 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARnXvdG7S-tBTGyaLFGl6HIe8mNBwSkHks5q0SbXgaJpZM4IspCX
.
from terraform-provider-libvirt.
Related Issues (20)
- version 0.7.4 breaks qemu+ssh (libvirt-sock) connection HOT 7
- Add support for managing the domain title property HOT 1
- Waiting for lease finishes prematurely if domain has network interface WITHOUT IP addess assigned yet.
- Cannot connect to ipv6 address with explicitly specified port HOT 1
- Upgraded from 0.7.1 to 0.7.6 - got this error: Guest agent is not responding: QEMU guest agent is not connected HOT 3
- Enhancement: add SMBIOS tags support HOT 1
- Allow provider configuration to be passed by its caller HOT 1
- [FEATURE] Add more comprehensive support for ssh_config, specifically bastion hosts HOT 2
- Graceful shutdown of domain resource when recreate is required HOT 2
- Domains set to be incorrectly recreated to add "type=kvm" property HOT 2
- Add generic boot disk resource HOT 4
- test driver support
- Which domain attributes not require replacement?
- Failed to persist state to backend when I use S3 as backend!??
- New Feature: allow specifying of target host machine on every individual resource/data source
- information returned by node-info from recent PR #1042 is incorrect HOT 1
- How can I specify virtual network device?
- Create a CDRom with ISO to boot from ? HOT 2
- libvirt provider fails with ssh.publicKeyCallback.auth if the SSH key is invalid
- Fix testsuite (or code) " Extra data in disabled network"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-libvirt.