Thank you for your input, I really appreciate it.
My goal was to define a data structure with a minimal set of features that
would make sense and could be further developed.
> I know of a few problems with PCI address allocation, but abstracting the
> data structure and functions used for alloc
On 06/12/2016 10:29 AM, Kevin Zhao wrote:
> Hi Cole && All,
> Nice meeting you in the libvirt mail-list. Greetings from Linaro !!!
> I am Kevin Zhao from Linaro and working for OpenStack on Aarch64.
> Nowadays I find that the default "virtio" bus is "virtio-mmio" , not
> "virtio-pci". Si
On 06/08/2016 02:04 PM, Tomasz Flendrich wrote:
Hello everyone,
Let me introduce myself - I'm Tomasz Flendrich and I'm a Google Summer
of Code student from University of Wrocław, Poland.
My goal is to create a generic address allocator (for PCI, virtio,
SCSI, etc.), because current handling of
According to libxl implementation, it supports pvusb
controller of version 1.1 and version 2.0, and it
supports two types of backend, 'pvusb' (dom0 backend)
and 'qusb' (qemu backend).
To match libxl support, extend usb controller schema
to support more models: pvusb1 (pvusb, version 1.1),
pvusb2 (
Support USB controller hot-plug and hot-unplug.
#virsh attach-device dom usbctrl.xml
#virsh detach-device dom usbctrl.xml
usbctrl.xml example:
Signed-off-by: Chunyan Liu
---
src/libxl/libxl_driver.c | 144 +++
1 file changed, 144 insertions(+)
d
Signed-off-by: Chunyan Liu
---
src/xenconfig/xen_xl.c | 203 +
1 file changed, 203 insertions(+)
diff --git a/src/xenconfig/xen_xl.c b/src/xenconfig/xen_xl.c
index c11cd1b..36d352c 100644
--- a/src/xenconfig/xen_xl.c
+++ b/src/xenconfig/xen_xl.c
@@
This patch series is to add pvusb controller support in libxl driver.
It should be applied on previous pvusb device support patch series.
Chunyan Liu (6):
extend usb controller model to support xen pvusb
libxl: support USB controllers in creation time
libxl: support usb controller hotplug
Signed-off-by: Chunyan Liu
---
tests/xlconfigdata/test-usbctrl.cfg | 13 +
tests/xlconfigdata/test-usbctrl.xml | 32
tests/xlconfigtest.c| 1 +
3 files changed, 46 insertions(+)
create mode 100644 tests/xlconfigdata/test-usbctrl.cfg
When hotplug a USB device, check if there is available controller
and port, if not, automatically create a USB controller of version
2.0 and 8 ports.
Signed-off-by: Chunyan Liu
---
src/libxl/libxl_driver.c | 32
1 file changed, 32 insertions(+)
diff --git a/src/
To support USB Controller in xen guest domains, just add
USB controller in domain config xml as following:
Signed-off-by: Chunyan Liu
---
src/libxl/libxl_conf.c | 94 ++
src/libxl/libxl_conf.h | 4 +++
2 files changed, 98 insertions(+)
diff --gi
Fabian Freyer wrote:
> Aaand I'm reposting this series again, in the hope that this time it will
> consistently send to the mailing list. Again, very sorry for the noise.
>
> Differences to v1:
> - use gnulib's reentrant getopt implementation. This is necessary for thread
> safety.
> -
Fabian Freyer wrote:
> Several gnulib headers rely on feature.h being included by ctype.h to provide
> __GNUC_PREREQ, but on systems without glibc, this is not provided. In these
> cases __GNUC_PREREQ gets redefined to 0, which causes build errors from checks
> in src/internal.h.
> Therefore, de
Fabian Freyer wrote:
> First, remove escaped newlines and split up the string into an argv-list for
> the bhyve and loader commands, respectively. This is done by iterating over
> the
> string splitting it by newlines, and then re-iterating over each line,
> splitting it by spaces.
>
> Since t
Fabian Freyer wrote:
> A simpe getopt-based argument parser is added for the /usr/sbin/bhyve command,
> loosely based on its argument parser, which reads the following from the bhyve
> command line string:
>
> * vm name
> * number of vcpus
> * memory size
> * the time offset (UTC or localtime).
A simpe getopt-based argument parser is added for the /usr/sbin/bhyve command,
loosely based on its argument parser, which reads the following from the bhyve
command line string:
* vm name
* number of vcpus
* memory size
* the time offset (UTC or localtime). This includes a capability check to see
First, remove escaped newlines and split up the string into an argv-list for
the bhyve and loader commands, respectively. This is done by iterating over the
string splitting it by newlines, and then re-iterating over each line,
splitting it by spaces.
Since this code reuses part of the code of qem
Unconditionally use gnulib's getopt module. This is needed by the bhyve driver
to provide a reentrant interface for getopt.
---
bootstrap.conf | 1 +
m4/virt-driver-bhyve.m4 | 3 +++
2 files changed, 4 insertions(+)
diff --git a/bootstrap.conf b/bootstrap.conf
index 0db6b62..edea8c3 1006
A simple getopt-based argument parser is added for the /usr/sbin/bhyveload
command, loosely based on its argument parser.
The boot disk is guessed by iterating over all
disks and matching their sources. If any non-default arguments are found,
def->os.bootloaderArgs is set accordingly, and the boot
Several gnulib headers rely on feature.h being included by ctype.h to provide
__GNUC_PREREQ, but on systems without glibc, this is not provided. In these
cases __GNUC_PREREQ gets redefined to 0, which causes build errors from checks
in src/internal.h.
Therefore, define __GNUC_PREREQ as early as pos
Aaand I'm reposting this series again, in the hope that this time it will
consistently send to the mailing list. Again, very sorry for the noise.
Differences to v1:
- use gnulib's reentrant getopt implementation. This is necessary for thread
safety.
- config-post.h: __GNUC_PREREQ is define
Hi Jim,
On Mon, Jun 06, 2016 at 10:22:14PM -0600, Jim Fehlig wrote:
> On 06/05/2016 05:06 AM, Guido Günther wrote:
> > otherwise we drop variables like XDG_RUNTIME_DIR with qemu:///session
> > and libvirtd faild to find virtlogd's socket.
> > ---
> > examples/apparmor/usr.sbin.libvirtd | 1 +
> >
On Fri, Jun 10, 2016 at 03:58:09PM -0400, Chris Lalancette wrote:
> On Fri, Jun 10, 2016 at 11:10 AM, Guido Günther wrote:
>
> > The virStreamSourceFunc internal_sendall currently returns the first
> > value passed in from the block, which according the ruby-libvirt docs
> > should be zero:
> >
>
---
examples/upload_volume.rb | 36
1 file changed, 36 insertions(+)
create mode 100644 examples/upload_volume.rb
diff --git a/examples/upload_volume.rb b/examples/upload_volume.rb
new file mode 100644
index 000..a051d46
--- /dev/null
+++ b/examples/uploa
---
.gitignore | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 .gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..f033dcf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+ext/libvirt/extconf.h
+ext/libvirt/_libvirt.so
+ext/libvirt/Makefile
+ext/libv
In libxl driver we do virObjectRef in libxlDomainObjBeginJob,
If virCondWaitUntil failed, it goes to error, do virObjectUnref,
There's a chance that someone undefine the vm at the same time,
and refs unref to zero, vm is freed in libxlDomainObjBeginJob.
But the vm outside function is not Null, we d
Roman Bogorodskiy wrote:
> Currently, virt-login-shell is not allowed to build on Windows.
> Howerver, as it's designed around LXC, it does not make sense to
> build it on anything but Linux, so make the check strickter and allow to
^
Currently, virt-login-shell is not allowed to build on Windows.
Howerver, as it's designed around LXC, it does not make sense to
build it on anything but Linux, so make the check strickter and allow to
enable it on Linux only.
---
m4/virt-login-shell.m4 | 4 ++--
1 file changed, 2 insertions(+), 2
Don't use duplicating target dev names.
---
tests/bhyvexml2argvdata/bhyvexml2argv-bhyveload-bootorder.xml | 2 +-
tests/bhyvexml2argvdata/bhyvexml2argv-bhyveload-bootorder1.xml | 2 +-
tests/bhyvexml2argvdata/bhyvexml2argv-bhyveload-bootorder3.xml | 2 +-
tests/bhyvexml2argvdata/bhyvexml2argv-bhy
---
src/bhyve/bhyve_driver.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c
index 6d21c2e..4ed5702 100644
--- a/src/bhyve/bhyve_driver.c
+++ b/src/bhyve/bhyve_driver.c
@@ -51,6 +51,8 @@
#include "cpu/cpu.h"
#include "viraccessapicheck.h"
* Fix misspelt function name:
s/virHostCPUGetStatsFreebsd/virHostCPUGetStatsFreeBSD/
* Mark the first argument to virHostCPUGetInfo with ATTRIBUTE_UNUSED
as it's not actually used on non-Linux
---
src/util/virhostcpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
This is a series of a few fixes to FreeBSD build in general and
to the bhyve driver in general.
Pushed that under the build breaker and trivial rule. However, for the
first two fixes I'm not sure that's the best fix possible, so I'm open
for feedback.
Roman Bogorodskiy (4):
nodeinfo: fix build
SYSFS_SYSTEM_PATH is only defined for Linux, however it's used outside
of #ifdef __linux__ code, e.g. as the first argument to
nodeCapsInitNUMAFake().
But as this argument's value is used on Linux only, it's safe to define
SYSFS_SYSTEM_PATH to "fake" to get things built on FreeBSD.
---
src/nodein
32 matches
Mail list logo