Virtualized desktop
by Jimmy Thrasibule
Hi,
I'm looking to renew my hardware and I'm wondering how Fedora can help
me to virtualize my desktop environment.
My first go was to have 2 Intel NUC (or Gigabit BRIX) and 2 screens,
one computer more stable and one I can play with. I want to use both
screens with both
computers so this implies to also have two KVMs.
Then came the idea to virtualize everything. Make both computers a
hypervisor cluster (using Xen or KVM) and run all systems virtualized.
But at which point can this be done for desktop system?
Here are some points I'm blocking with:
1. I want two screens and be able take make each VM to use one (left
or right) or both screens. Maybe by pressing some keyboard shortcuts.
2. I want mouse a keyboard to be moved to the VM of my choice or
dedicated to one VM and use Synergy [1] for the others.
3. I will have somewhere a Windows VM so good support is needed.
4. What about the graphics? Can I still make use of Blender for
example? How the graphic card shared between each VM?
5. I'd like to make both hypervisor work together. Can I use the local
drive of each computer to ensure migration and folder sharing?
I see many advantages which this setup:
1. I can freely test, new VM and we are done.
2. I can make a snapshot at any time just in case and go back if my
system crashes.
And some drawbacks:
1. I will never have full performance of my hardware.
Is it for you something that can be done or no way?
[1] http://synergy-project.org/
9 years, 5 months
Re: [fedora-virt] spice/qxl resolution setting?
by White, Langdon
On Fri, Jun 20, 2014 at 5:20 PM, Tom Horsley <horsley1953(a)gmail.com> wrote:
> On Fri, 20 Jun 2014 09:14:53 -0400
> Tom Horsley wrote:
>
>> Thinking about this some more, I bet I can put a script to
>> invoke xrandr to set the resolution in the
>> /etc/X11/xinit/xinitrc.d/ directory. I'll have to try that
>> the next time I'm working on the virtual machine.
>
> For some reason it doesn't work in the xinit dir, but
> if I put the script in the "Startup Apps" in gnome,
> it does set the resolution I want when I login.
> _______________________________________________
> virt mailing list
> virt(a)lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/virt
Having had a very similar problem (I actually wanted a resolution that
would still let me see the top nav bar in gnome), I took these notes
for myself. I think they are pretty adaptable but it was super
complicated to find.
So, first, you need to get the modeline with something like:
cvt 1600 850 60
then get your display name by running
xrandr
then in, /etc/gdm/Init/Default
xrandr --newmode "<name of mode>" <modeline from above>
xrandr --addmode <display name> <name of mode>
xrandr --output <display name> --mode <name of mode>
an example of the above
xrandr --newmode "1600x800_60.00" 104.25 1600 1688 1848 2096 800
803 813 831 -hsync +vsync
xrandr --addmode qxl-0 1600x800_60.00
xrandr --output qxl-0 --mode 1600x80_60.00
Langdon
9 years, 5 months
spice/qxl resolution setting?
by Tom Horsley
I just installed a centos 6.5 virtual machine on my fedora 20 host.
It works fine with spice/qxl, but insists it should come up
in 1024x768 resolution.
I can use the Display setting app inside centos to change
the resolution to something more reasonable like 1600x900,
but if I log off or reboot, it is back to 1024x768 again.
Any way I can convince the virtual machine that the default
resolution is 1600x900? My Windows KVM has no problem
remembering the resolution I set in it.
9 years, 5 months
images on tmpfs?
by Tom Horsley
Anyone know why qemu wouldn't want to run a virtual
machine installing to a qcow2 image file on a tmpfs
filesystem?
They are doing a lot of test installs in virtual machines
at work, and I suggested creating a storage pool
in tmpfs (the host machine has vast amounts of memory)
as something that might make the install go faster,
but it seems to refuse to even attempt to use the
tmpfs image.
9 years, 6 months
Fwd: [SeaBIOS] [ANNOUNCE] SeaBIOS 1.7.5
by Cole Robinson
Built for rawhide now, will hit virt-preview tomorrow
- Cole
-------- Original Message --------
The 1.7.5 version of SeaBIOS has now been released. For more
information on the release, please see:
http://seabios.org/Releases
New in this release:
* Support for obtaining SMBIOS tables directly from QEMU.
* XHCI USB controller fixes for real hardware (now tested on several boards)
* SeaVGABIOS improvements
* New driver for "coreboot native vga" support
* Improved detection of older x86emu versions with incorrect emulation.
* Several bug fixes and code cleanups
For information on obtaining SeaBIOS, please see:
http://seabios.org/Download
_______________________________________________
SeaBIOS mailing list
SeaBIOS(a)seabios.org
http://www.seabios.org/mailman/listinfo/seabios
9 years, 6 months
Fwd: [libvirt] Release fo libvirt-1.2.5
by Cole Robinson
danpb kicked off a rawhide build this morning, should show up in virt-preview
tomorrow.
- Cole
-------- Original Message --------
As planned the release of libvirt 1.2.5 is out, it is tagged in git
and available as tarballs and rpms at the usual place:
ftp://libvirt.org/libvirt/
This is a relatively small release in the number of commits, around 150,
but includes a security fix (which happened to be my fault !) and 2 new
set of APIs. There is also some interesting refactoring work and the
usual flow of bug fixes, so people are really invited to update:
Security:
- LSN-2014-0003: Don't expand entities when parsing XML (Daniel P. Berrange)
Features:
- Introduce virDomain{Get,Set}Time APIs (Michal Privoznik)
- Introduce virDomainFSFreeze() and virDomainFSThaw() public API (Tomoki Sekiyama)
Portability:
- build: avoid compiler warning on 32-bit platform (Eric Blake)
- build: fix build with libselinux 2.3 (Cédric Bosdonnat)
- qemu: Fix specifying char devs for PPC (Olivia Yin)
- change machine name ppce500v2 to ppce500 (Olivia Yin)
- tests: avoid dlsym mocking on mingw (Eric Blake)
- avoid 'sync' as variable name (Pavel Hrdina)
- Fix build wihout macvtap or virtualport (Ján Tomko)
Bug Fixes:
- util: fix DST end date in virtimetest timezones (Laine Stump)
- qemu: snapshot: Improve detection of mixed snapshots (Peter Krempa)
- qemu: snapshot: Reject internal active snapshot without memory state (Peter
Krempa)
- util: storage: Fix crash of libvirtd on network backed guest block-pull
(Peter Krempa)
- util: fix virTimeLocalOffsetFromUTC DST processing (Laine Stump)
- qemu: managedsave: Don't spam logs with warnings about corrupted image
(Peter Krempa)
- utils: storage: Canonicalize paths only for local filesystems (Peter Krempa)
- qemu: reject rather than hang on blockcommit of active layer (Eric Blake)
- Clean up chardev sockets on QEMU shutdown (Ján Tomko)
- qemu: fix <clock offset='variable' basis='localtime'/> (Laine Stump)
- qemu: fix RTC_CHANGE event for <clock offset='variable' basis='utc'/> (Laine
Stump)
- qemu: Properly abort migration to a file (Jiri Denemark)
- qemu: Send migrate_cancel when aborting migration (Jiri Denemark)
- Fix error message when TUNNELLED flag is used in non-p2p migration (Jiri
Denemark)
- conf: fix backing store parse off-by-one (Eric Blake)
- Fix crash in DAC driver with no seclabels (Ján Tomko)
- util: fix memory leak in failure path of virCgroupKillRecursiveInternal
(Chen Hanxiao)
- qemu: Avoid leak in qemuDomainCheckRemoveOptionalDisk (Jiri Denemark)
- qemu: Ignore temporary job errors when checking migration status (Jiri Denemark)
- qemu: snapshot: Terminate job when memory compression program isn't found
(Peter Krempa)
- sanlock: avoid leak in acquire() (Martin Kletzander)
- virsh: domain: Fix output of the VNC display number for domdisplay (Peter
Krempa)
- sanlock: don't fail with unregistered domains (Martin Kletzander)
- storage: Resolve issues in failure path (John Ferlan)
- spec: Don't install nonexistent test_libvirt_lockd.aug (Jiri Denemark)
- spec: sanlock is x86_64 only on RHEL (Jiri Denemark)
- Fix vlan ID detection in udev interface driver (Ján Tomko)
Documentation:
- bhyve driver documentation improvements (Roman Bogorodskiy)
- virsh: fix typos in virsh man page (Eric Blake)
- maint: fix typo in previous patch (Eric Blake)
- fix documentation of virDomainSet(Get)Metadata (Dan Kenigsberg)
- Fix an extra ' in a translated string (Daniel Veillard)
- add a serial device with a seclabel example (Ján Tomko)
- maint: fix typos related to disk name resolution (Eric Blake)
- maint: fix typos related to 'frozen' (Eric Blake)
- mention vagrant-libvirt in apps.html (James Shubin)
- update documentation of <interface type='hostdev'> (Chunyan Liu)
- update README-hacking (Chen Hanxiao)
- virerror: Fix an error message typo (Cole Robinson)
- fix a typo in formatdomain (Chen Hanxiao)
- typos: fix s/it/is/ where applicable (Martin Kletzander)
- datatypes: Fix comment of secret uuid (Li Yang)
Improvements:
- maint: cleanup detection of const'ness of selinux ctx (Jim Fehlig)
- storage: fs: Drop-in replace use of virStorageFileGetMetadataFromBuf (Peter
Krempa)
- storage: Return backing format from virStorageFileGetMetadataFromFD (Peter
Krempa)
- util: new function virTimeLocalOffsetFromUTC (Laine Stump)
- storage: Add storage file API to read file headers (Peter Krempa)
- storage: Add support for access to files using provided uid/gid (Peter Krempa)
- storage: Add NONE protocol type for network disks (Peter Krempa)
- conf: Fix domain disk path iterator to work with networked storage (Peter
Krempa)
- storage: Rework debugging of storage file access through storage driver
(Peter Krempa)
- storage: Store gluster volume name separately (Peter Krempa)
- qemu: Make qemuDomainPrepareDiskChainElement aware of remote storage (Peter
Krempa)
- qemu: process: Refresh backing chain info when reconnecting to qemu (Peter
Krempa)
- Don't log an internal error when the guest hasn't updated balloon stats (Ján
Tomko)
- qemuSetupCgroupForVcpu: s/virProcessInfoSetAffinity/virProcessSetAffinity/
(Michal Privoznik)
- bhyve: fix virObjectUnlock() usage (Roman Bogorodskiy)
- virdbus: Show method name in error message (Cole Robinson)
- virdbus: Remove redundant error macro (Cole Robinson)
- qemu: snapshot: Fix return value of external checkpoint with no disks (Peter
Krempa)
- qemu: snapshot: Forbid empty snapshots (Peter Krempa)
- qemu: snapshot: Forbid partial internal snapshots (Peter Krempa)
- qemu: snapshot: Use typecasted switch in qemuDomainSnapshotPrepare() (Peter
Krempa)
- bhyve: domain events support (Roman Bogorodskiy)
- migration: add support for migrateURI configuration (Chen Fan)
- util: refactor virNetlinkCommand to fix several bugs / style problems (Laine
Stump)
- build: nuke more uses of 'sync' (Eric Blake)
- Return error when updating cdrom device (Pavel Hrdina)
- Revert "maint: prefer enum over int for virstoragefile structs" (Eric Blake)
- parallels: create VMs in the default place (Dmitry Guryanov)
- parallels: add disks correctly (Dmitry Guryanov)
- parallels: set file format in virDomainDef (Dmitry Guryanov)
- parallels: add VIR_STORAGE_FILE_PLOOP format (Dmitry Guryanov)
- conf: fix seclabels for chardevs (Ján Tomko)
- Rename virDomainDiskSourceDefFormatSeclabel (Ján Tomko)
- security_dac: honor relabel='no' in chardev config (Jim Fehlig)
- security_dac: avoid relabeling hostdevs when relabel='no' (Jim Fehlig)
- security_dac: honor relabel='no' in disk config (Jim Fehlig)
- security_dac: avoid relabeling when relabel='no' (Jim Fehlig)
- security_dac: rework callback parameter passing (Jim Fehlig)
- security_dac: cleanup use of enum types (Jim Fehlig)
- security_dac: annotate some functions with ATTRIBUTE_NONNULL (Jim Fehlig)
- maint: prefer enum over int for virstoragefile structs (Eric Blake)
- maint: shorten 'TypeType' function names (Eric Blake)
- maint: use enum typedef for virstorageencryption.h (Eric Blake)
- vbox: fix stale comment about vdi storage type (Eric Blake)
- qemu: Implement virDomain{Get,Set}Time (Michal Privoznik)
- virsh: Expose virDomain{Get,Set}Time (Michal Privoznik)
- security_dac: Fix indentation (Jim Fehlig)
- security_dac: Remove unnecessary curly braces (Jim Fehlig)
- security_dac: Remove unnecessary ATTRIBUTE_UNUSED (Jim Fehlig)
- virsh: reject undefine --wipe-storage without also naming storage (Li Yang)
- conf: use typedefs for enums in "src/conf/snapshot_conf.h" (Julio Faracco)
- conf: use typedefs for enums in "src/conf/storage_conf.h" (Julio Faracco)
- conf: use typedefs for enums in "src/conf/nwfilter_conf.h" (Julio Faracco)
- qemu: Make qemuProcess{Start,Stop}CPUs easier to follow (Jiri Denemark)
- qemuDomainObjBeginNestedJob: Return -2 for temporary failures (Jiri Denemark)
- qemu: Make qemuDomainObjBeginNestedJob static (Jiri Denemark)
- qemu: extract common PCI handling functions (Roman Bogorodskiy)
- qemu: extract PCI handling structs (Roman Bogorodskiy)
- qemu: Adjust size for qcow2/qed if not on sector boundary (John Ferlan)
- sanlock: code movement in virLockManagerSanlockAcquire (Martin Kletzander)
- apibuild: Disallow 'returns' return description (Michal Privoznik)
- qemu: Support mountpoints option of guest-fsfreeze-freeze (Tomoki Sekiyama)
- virsh: Expose new virDomainFSFreeze and virDomainFSThaw API (Tomoki Sekiyama)
- qemu: Implement virDomainFSFreeze and virDomainFSThaw (Tomoki Sekiyama)
- conf: use typedefs for enums in node_device_conf, nwfilter_params (Julio
Faracco)
- libxl: fix support for <interface type="hostdev"> syntax (Chunyan Liu)
- maint: use $(SED) instead of sed for syntax-check (Roman Bogorodskiy)
- bhyve: implement connectGetSysinfo (Roman Bogorodskiy)
- qemu: Implement a stub cpuArchDriver.compare() handler for arm and aarch64
(Oleg Strikov)
- ESX: add virStorageVolGetInfo in iSCSI backend. (Dawid Zamirski)
- parallels: add a set of trivial functions (Dmitry Guryanov)
- parallels: don't add domain to the list twice (Dmitry Guryanov)
- parallels: don't enable VNC when we define a new domain (Dmitry Guryanov)
- parallels: fix virDomainDef.features comparison (Dmitry Guryanov)
- Add support for timestamping QEMU logs (Ján Tomko)
- qemu: track quiesced status in qemuDomainSnapshotFSFreeze (Tomoki Sekiyama)
- remote: Implement virDomainFSFreeze and virDomainFSThaw (Tomoki Sekiyama)
- udev: consider the device a CDROM when ID_CDROM=1 (Giuseppe Scrivano)
- virdbus: Make virDBusCall static (Cole Robinson)
- qemu: specify domain in host-side PCI addresses when needed/supported (Laine
Stump)
- qemu: add host-pci-multidomain capability (Laine Stump)
- storageVolCreateXMLFrom: Allow multiple accesses to origvol (Michal Privoznik)
- conf: use typedefs for enums in "src/conf/{network,interface}_conf.h" (Julio
Faracco)
- conf: use typedefs for enums in "src/conf/cpu_conf.h" (Julio Faracco)
- util: use typedefs for enums in "src/util/" directory (Julio Faracco)
- virsh: Replace list element to defined variable (Li Yang)
- libxl: support PARAVIRT reboot flag (Jim Fehlig)
- libxl: support PARAVIRT and ACPI shutdown flags (Jim Fehlig)
- Introduce a new flag for controlling shutdown/reboot (Jim Fehlig)
- conf: drop extra storage probe (Eric Blake)
- bhyve: report cpuTime in bhyveDomainGetInfo (Roman Bogorodskiy)
- bhyve: implement connectDomainXMLToNative (Roman Bogorodskiy)
- bhyve: improve bhyve_command.c testability (Roman Bogorodskiy)
Cleanup:
- virSecurityDACRestoreSecurityHostdevLabel: Unmark @def as unused (Michal
Privoznik)
Thanks everybody who contributed in one way or anither to this release
with bug reports, fixes, documentation and patch reviews !
Daniel
--
Daniel Veillard | Open Source and Standards, Red Hat
veillard(a)redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | virtualization library http://libvirt.org/
--
libvir-list mailing list
libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
9 years, 6 months
Re: [fedora-virt] Create virt F20 on new physical /dev/sda -> OK; boot live F20 on /dev/sda now fails
by Philip Rhoades
Cole,
On 2014-05-31 16:31, Cole Robinson wrote:
> On 05/30/2014 08:03 PM, Philip Rhoades wrote:
>> People,
>>
>> For the last few versions of Fedora (x86_64) I have been going through
>> this
>> process:
>>
>> - install a new SATA drive as /dev/sda
>>
>> - boot to the previous Fedora now on /dev/sdb
>>
>> - create a new virtual system using the latest Fedora on the new
>> physical
>> drive on /dev/sda
>>
>> - get the new virtual Fedora on /dev/sda as ready as possible
>>
>> - then re-boot to the new live system on /dev/sda
>>
>> This process has been working fine for the last few versions but now
>> for going
>> from F19 to F20 and booting on the new F20 the process stops at:
>>
>> [OK] Reached target Paths
>> [OK] Reached target Basic System
>>
>> I can still do a live boot on /dev/sdb and run the new F20 as a virt
>> machine
>> using physical drive /dev/sda OK but it was a nice process to reduce
>> down time
>> to be able to get the new Fedora as ready as possible as a virtual
>> machine and
>> then reboot it as the live machine. Has something changed that stops
>> me doing
>> this now?
>
> It's hard to say, there's a lot of variables here. Something is
> obviously
> going wrong, maybe you can get systemd to give you more debugging info:
>
> http://freedesktop.org/wiki/Software/systemd/Debugging/#index1h1
>
> I would assume it's something to do with some stable /dev disk path
> changes
> between running in the VM and running on physical hardware, so maybe
> poke into
> fstab
Someone else pointed to the problem - they had had the same problem with
a straight DVD install where the drive order was automatically changed
for some reason: indeed you were on the right track, the kernel line in
the boot menu had the wrong device name when I switched from a non
virtual boot (the emergency boot line was OK?!), using the UUID of the
drive partition instead fixed the problem.
Thanks!
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil(a)pricom.com.au
9 years, 6 months