[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 68d98d: vl: add -object option to create QOM
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 68d98d: vl: add -object option to create QOM objects from ... |
Date: |
Fri, 16 Nov 2012 10:00:11 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 68d98d3e42b2b291274537d1ae4092e11d321437
https://github.com/qemu/qemu/commit/68d98d3e42b2b291274537d1ae4092e11d321437
Author: Anthony Liguori <address@hidden>
Date: 2012-11-16 (Fri, 16 Nov 2012)
Changed paths:
M qemu-config.c
M qemu-options.hx
M vl.c
Log Message:
-----------
vl: add -object option to create QOM objects from the command line
This will create a new QOM object in the '/objects' path. Note that properties
are set in order which allows for simple objects to be initialized entirely
with this option and then realized.
This option is roughly equivalent to -device but for things that are not
devices.
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 0e5588438d921b8686bbf455f400f727b2ff7b62
https://github.com/qemu/qemu/commit/0e5588438d921b8686bbf455f400f727b2ff7b62
Author: Anthony Liguori <address@hidden>
Date: 2012-11-16 (Fri, 16 Nov 2012)
Changed paths:
M include/qemu/object.h
M qom/object.c
Log Message:
-----------
object: add object_property_add_bool (v2)
Signed-off-by: Anthony Liguori <address@hidden>
---
v1 -> v2
- Fix whitespace (Andreas Faerber)
Commit: a9b7b2ad7b075dba5495271706670e5c6b1304bc
https://github.com/qemu/qemu/commit/a9b7b2ad7b075dba5495271706670e5c6b1304bc
Author: Anthony Liguori <address@hidden>
Date: 2012-11-16 (Fri, 16 Nov 2012)
Changed paths:
M Makefile.objs
A backends/Makefile.objs
A backends/rng.c
A include/qemu/rng.h
Log Message:
-----------
rng: add RndBackend abstract object class
This is the backend used by devices that need to request entropy.
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 5c74521d249486fa3e749dbbf6d56a70d4d7235f
https://github.com/qemu/qemu/commit/5c74521d249486fa3e749dbbf6d56a70d4d7235f
Author: Anthony Liguori <address@hidden>
Date: 2012-11-16 (Fri, 16 Nov 2012)
Changed paths:
M backends/Makefile.objs
A backends/rng-random.c
A include/qemu/rng-random.h
Log Message:
-----------
rng-random: add an RNG backend that uses /dev/random (v3)
The filename can be overridden but it expects a non-blocking source of entropy.
A typical invocation would be:
qemu -object rng-random,id=rng0 -device virtio-rng-pci,rng=rng0
This can also be used with /dev/urandom by using the command line:
qemu -object rng-random,filename=/dev/urandom,id=rng0 \
-device virtio-rng-pci,rng=rng0
Signed-off-by: Anthony Liguori <address@hidden>
---
v1 -> v2
- merged header split patch into this one
v2 -> v3
- bug fix in rng-random (Paolo)
Commit: 1da2738f5566263177d09c1b9eaf7cbeeb17e815
https://github.com/qemu/qemu/commit/1da2738f5566263177d09c1b9eaf7cbeeb17e815
Author: Anthony Liguori <address@hidden>
Date: 2012-11-16 (Fri, 16 Nov 2012)
Changed paths:
M backends/Makefile.objs
A backends/rng-egd.c
Log Message:
-----------
rng-egd: introduce EGD compliant RNG backend
This backend talks EGD to a CharDriverState. A typical way to invoke this would
be:
qemu -chardev socket,host=localhost,port=1024,id=chr0 \
-object rng-egd,chardev=chr0,id=egd0 \
-device virtio-rng-pci,rng=egd0
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 16c915ba42b45df7a64a6908287f03bfa3764bed
https://github.com/qemu/qemu/commit/16c915ba42b45df7a64a6908287f03bfa3764bed
Author: Amit Shah <address@hidden>
Date: 2012-11-16 (Fri, 16 Nov 2012)
Changed paths:
M hw/Makefile.objs
M hw/pci.h
M hw/s390-virtio-bus.c
M hw/s390-virtio-bus.h
M hw/virtio-pci.c
M hw/virtio-pci.h
A hw/virtio-rng.c
A hw/virtio-rng.h
M hw/virtio.h
Log Message:
-----------
virtio-rng: hardware random number generator device
The Linux kernel already has a virtio-rng driver, this is the device
implementation.
When the guest asks for entropy from the virtio hwrng, it puts a buffer
in the vq. We then put entropy into that buffer, and push it back to
the guest.
Signed-off-by: Amit Shah <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
---
aliguori: converted to new RngBackend interface
aliguori: remove entropy needed event
aliguori: fix migration
Commit: 904d6f588063fb5ad2b61998acdf1e73fb465067
https://github.com/qemu/qemu/commit/904d6f588063fb5ad2b61998acdf1e73fb465067
Author: Anthony Liguori <address@hidden>
Date: 2012-11-16 (Fri, 16 Nov 2012)
Changed paths:
M hw/virtio-pci.c
M hw/virtio-rng.c
M hw/virtio-rng.h
Log Message:
-----------
virtio-rng: add rate limiting support
This adds parameters to virtio-rng-pci to allow rate limiting the entropy a
guest receives. An example command line:
$ qemu -device virtio-rng-pci,max-bytes=1024,period=1000
Would limit entropy collection to 1Kb/s.
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 500054f161c29ff9db125c0b872809191ad6920b
https://github.com/qemu/qemu/commit/500054f161c29ff9db125c0b872809191ad6920b
Author: Anthony Liguori <address@hidden>
Date: 2012-11-16 (Fri, 16 Nov 2012)
Changed paths:
M hw/virtio-pci.c
M hw/virtio-rng.h
Log Message:
-----------
virtio-rng-pci: create a default backend if none exists
This allows you to specify:
$ qemu -device virtio-rng-pci
And things will Just Work with a reasonable default.
Signed-off-by: Anthony Liguori <address@hidden>
Compare: https://github.com/qemu/qemu/compare/6801038bc52d...500054f161c2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 68d98d: vl: add -object option to create QOM objects from ...,
GitHub <=