[libvirt-users] SEV machines and memory pinning

2019-04-03 Thread Boris Bobrov

Hello,

I am working on implementing SEV support in OpenStack. There are some 
questions that came up in the discussion of the spec [0]


[0] https://review.openstack.org/#/c/641994/

As far as i understand, the memory for SEV machines need to be pinned so 
that it doesn't migrate to swap and page migration. ROMS, UEFI pflash 
and video RAM should be pinned too.


Initially we planned to use hard_limit of  element to pin the 
memory. However, from the discussion in the spec it seems that there is 
no way to determine a good enough value and that hard_limit should not 
be used at all.


What should be used then?

There is a suggestion to use something like this:

  

  






  

Will it work? Are there any caveats we should remember about with this 
config? If we can use it, is there anything that would be redundant or 
not necessary for our case?


___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users


[libvirt-users] CfP VHPC19: HPC Virtualization-Containers: Paper due May 1, 2019 (extended)

2019-04-03 Thread VHPC 19

CALL FOR PAPERS


14th Workshop on Virtualization in High­-Performance Cloud Computing
(VHPC '19) held in conjunction with the International Supercomputing
Conference - High Performance, June 16-20, 2019, Frankfurt, Germany.
(Springer LNCS Proceedings)



Date: June 20, 2019
Workshop URL: http://vhpc.org

Paper Submission Deadline: May 1, 2019 (extended)
Springer LNCS, rolling abstract submission

Abstract/Paper Submission Link: https://edas.info/newPaper.php?c=25685


Call for Papers

Containers and virtualization technologies constitute key enabling
factors for flexible resource management in modern data centers, and
particularly in cloud environments.  Cloud providers need to manage
complex infrastructures in a seamless fashion to support the highly
dynamic and heterogeneous workloads and hosted applications customers
deploy. Similarly, HPC  environments have been increasingly adopting
techniques that enable flexible management of vast computing and
networking resources, close to marginal provisioning cost, which is
unprecedented in the history of scientific and commercial computing.

Various virtualization-containerization technologies contribute to the
overall picture in different ways: machine virtualization, with its
capability to enable consolidation of multiple under­utilized servers
with heterogeneous software and operating systems (OSes), and its
capability to live­-migrate a fully operating virtual machine (VM)
with a very short downtime, enables novel and dynamic ways to manage
physical servers; OS-­level virtualization (i.e., containerization),
with its capability to isolate multiple user­-space environments and
to allow for their co­existence within the same OS kernel, promises to
provide many of the advantages of machine virtualization with high
levels of responsiveness and performance; lastly, unikernels provide
for many virtualization benefits with a minimized OS/library surface.
I/O Virtualization in turn allows physical network interfaces to take
traffic from multiple VMs or containers; network virtualization, with
its capability to create logical network overlays that are independent
of the underlying physical topology is furthermore enabling
virtualization of HPC infrastructures.

Publication

Accepted papers will be published in a Springer LNCS proceedings volume.


Topics of Interest

The VHPC program committee solicits original, high-quality submissions
related to virtualization across the entire software stack with a
special focus on the intersection of HPC, containers-virtualization
and the cloud.

Major Topics:
- HPC on Containers and VMs
- Containerized applications with OS-level virtualization
- Lightweight applications with Unikernels
- HP-as-a-Service

each major topic encompassing design/architecture, management,
performance management, modeling and configuration/tooling:

Design / Architecture:
- Containers and OS-level virtualization (LXC, Docker, rkt,
  Singularity, Shifter, i.a.)
- Hypervisor support for heterogeneous resources (GPUs, co-processors,
  FPGAs, etc.)
- Hypervisor extensions to mitigate side-channel attacks
  ([micro-]architectural timing attacks, privilege escalation)
- VM & Container trust and security models
- Multi-environment coupling, system software supporting in-situ
  analysis with HPC simulation
- Cloud reliability, fault-tolerance and high-availability
- Energy-efficient and power-aware virtualization
- Containers inside VMs with hypervisor isolation
- Virtualization support for emerging memory technologies
- Lightweight/specialized operating systems in conjunction with
  virtual machines
- Hypervisor support for heterogeneous resources (GPUs, co-processors,
  FPGAs, etc.)
- Novel unikernels and use cases for virtualized HPC environments
- ARM-based hypervisors, ARM virtualization extensions

Management:
- Container and VM management for HPC and cloud environments
- HPC services integration, services to support HPC
- Service and on-demand scheduling & resource management
- Dedicated workload management with VMs or containers
- Workflow coupling with VMs and containers
- Unikernel, lightweight VM application management
- Environments and tools for operating containerized environments
  (batch, orchestration)
- Novel models for non-HPC workload provisioning on HPC resources

Performance Measurements and Modeling:
- Performance improvements for or driven by unikernels
- Optimizations of virtual machine monitor platforms and hypervisors
- Scalability analysis of VMs and/or containers at large scale
- Performance measurement, modeling and monitoring of
  virtualized/cloud workloads
- Virtualization in supercomputing environments, HPC clusters, HPC in
  the cloud

Configuration / Tooling:
- Tool support for unikernels: configuration/build environments,
  debuggers, profilers
- Job scheduling/control/policy and contain

Re: [libvirt-users] is it possible to create a snapshot from a guest residing in a plain partition ?

2019-04-03 Thread Eric Blake
On 4/3/19 9:44 AM, Lentes, Bernd wrote:
> Hi,
> 
> i can store the disk of a guest in a plain partition which isn't formatted.
> That's no problem, i did it already several times, although the promised 
> speed increase didn't appear.
> 
> But is it possible to create from such a guest a snapshot in a .sn file using 
> virsh ?

It is possible to create an external snapshot (an internal one is not
possible, unless you stored the guest disk as qcow2 format embedded
inside the partition rather than directly as raw format).  Note that
when you create an external snapshot, the partition becomes a read-only
point in time (no further updates to that partition), and your new
file.sn qcow2 wrapper file created by the snapshot operation stores all
subsequent guest writes. (Well, unless you decide to do a commit
operation to push the changes from the overlay back into the base file
and get rid of the overlay)


-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.   +1-919-301-3226
Virtualization:  qemu.org | libvirt.org



signature.asc
Description: OpenPGP digital signature
___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

[libvirt-users] is it possible to create a snapshot from a guest residing in a plain partition ?

2019-04-03 Thread Lentes, Bernd
Hi,

i can store the disk of a guest in a plain partition which isn't formatted.
That's no problem, i did it already several times, although the promised speed 
increase didn't appear.

But is it possible to create from such a guest a snapshot in a .sn file using 
virsh ?

Regards,


Bernd

-- 

Bernd Lentes 
Systemadministration 
Institut für Entwicklungsgenetik 
Gebäude 35.34 - Raum 208 
HelmholtzZentrum münchen 
bernd.len...@helmholtz-muenchen.de 
phone: +49 89 3187 1241 
phone: +49 89 3187 3827 
fax: +49 89 3187 2294 
http://www.helmholtz-muenchen.de/idg 

wer Fehler macht kann etwas lernen 
wer nichts macht kann auch nichts lernen
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDirig'in Petra Steiner-Hoffmann
Stellv.Aufsichtsratsvorsitzender: MinDirig. Dr. Manfred Wolter
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Heinrich Bassler, 
Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671


___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Clock skew on Win10

2019-04-03 Thread Francesc Guasch

El 1/4/19 a les 18:43, Alex ha escrit:

Hi, I haven't received any replies to this, but I'm still having a
problem with clock skew on Win10.

How can I troubleshoot this? I'm pretty sure the clock settings are
correct from within Windows, but when the VM resumes from the host
sleeping, the clock is off by some seemingly random number of hours.


Hi Alex, I think your problem is very common and has no
easy solution. It is normal that the virtual machines have
not advanced the clock after hibernation. You have to run
a process that updates it or you can call it from a script.

We work with Perl and we ended up using the set_time function
to force it. It requires the vdagent installed in the virtual
machine . We call it after resume:


   $domain->set_time(time(), 0, 0);

You also need the guest agent channel in the XML definition
of the virtual machine

 


  
  


http://wiki.stoney-cloud.org/wiki/Qemu_Guest_Agent_Integration

Hope this helps.

___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users