KVM guests unique ID

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Virtualization and Cloud Computing KVM guests unique ID
# 1  
Old 07-28-2014
KVM guests unique ID

Hi,
I wanted to know if there was a way to get a unique UUID for KVM guest from the guest OS which isn't easily modifiable. I have a software that I would like to run inside a KVM guest and want to do some license protection on it using a unique UUID. Does KVM allow multiple VMs on the same machine with same UUID. I mean if someone edits the configuration file of the VM manually from the host, would it still bring up the VM if the uuid was duplicated ? Also how can I get the uuid of a guest VM from the guest ?

Also if someone could throw some light on guest host communication channel. Is there an equivalent of Xenstore or guest property store in KVM ? Some mechanism to share small messages between the guest and the host.

Thanks
Shivani
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Print unique lines without sort or unique

I would like to print unique lines without sort or unique. Unfortunately the server I am working on does not have sort or unique. I have not been able to contact the administrator of the server to ask him to add it for several weeks. (7 Replies)
Discussion started by: cokedude
7 Replies

2. Shell Programming and Scripting

Change unique file names into new unique filenames

I have 84 files with the following names splitseqs.1, spliseqs.2 etc. and I want to change the .number to a unique filename. E.g. change splitseqs.1 into splitseqs.7114_1#24 and change spliseqs.2 into splitseqs.7067_2#4 So all the current file names are unique, so are the new file names.... (1 Reply)
Discussion started by: avonm
1 Replies

3. HP-UX

HPVM Unable to create more guests due to lack of RAM

Hi All, There are few threads regarding this subject of being unable to create more guests due to lack of RAM. So I am aware how the sum works.. add 8.5% to whatever is allocated, be that the host or guest. But I'm not sure if I have a hardware issue with memory or what I see is correct as I am... (3 Replies)
Discussion started by: EricF
3 Replies

4. Virtualization and Cloud Computing

VirtualBox on Solaris -> no 64 bit guests

Hi, we try to export a Solaris installation from one laptop to another. I installed Solaris as 64 bit guest OS on my Mac in VirtualBox. After the transfer of the exported files to the other laptop (Dell Studio with T4300 Intel CPU) we try to start the guest in 64 bit mode but the guest only runs... (2 Replies)
Discussion started by: DukeNuke2
2 Replies

5. Shell Programming and Scripting

get part of file with unique & non-unique string

I have an archive file that holds a batch of statements. I would like to be able to extract a certain statement based on the unique customer # (ie. 123456). The end for each statement is noted by "ENDSTM". I can find the line number for the beginning of the statement section with sed. ... (5 Replies)
Discussion started by: andrewsc
5 Replies
Login or Register to Ask a Question
PERF-KVM(1)							    perf Manual 						       PERF-KVM(1)

NAME
perf-kvm - Tool to trace/measure kvm guest os SYNOPSIS
perf kvm [--host] [--guest] [--guestmount=<path> [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]] {top|record|report|diff|buildid-list} perf kvm [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} 'perf kvm stat [record|report|live] [<options>] DESCRIPTION
There are a couple of variants of perf kvm: 'perf kvm [options] top <command>' to generates and displays a performance counter profile of guest os in realtime of an arbitrary workload. 'perf kvm record <command>' to record the performance counter profile of an arbitrary workload and save it into a perf data file. If both --host and --guest are input, the perf data file name is perf.data.kvm. If there is no --host but --guest, the file name is perf.data.guest. If there is no --guest but --host, the file name is perf.data.host. 'perf kvm report' to display the performance counter profile information recorded via perf kvm record. 'perf kvm diff' to displays the performance difference amongst two perf.data files captured via perf record. 'perf kvm buildid-list' to display the buildids found in a perf data file, so that other tools can be used to fetch packages with matching symbol tables for use by perf report. 'perf kvm stat <command>' to run a command and gather performance counter statistics. Especially, perf 'kvm stat record/report' generates a statistical analysis of KVM events. Currently, vmexit, mmio and ioport events are supported. 'perf kvm stat record <command>' records kvm events and the events between start and end <command>. And this command produces a file which contains tracing results of kvm events. 'perf kvm stat report' reports statistical data which includes events handled time, samples, and so on. 'perf kvm stat live' reports statistical data in a live mode (similar to record + report but with statistical data updated live at a given display rate). OPTIONS
-i, --input= Input file name. -o, --output Output file name. --host= Collect host side performance profile. --guest= Collect guest side performance profile. --guestmount=<path> Guest os root file system mount directory. Users mounts guest os root directories under <path> by a specific filesystem access method, typically, sshfs. For example, start 2 guest os. The one's pid is 8888 and the other's is 9999. #mkdir /guestmount; cd/guestmount #sshfs -o allow_other,direct_io -p 5551 localhost:/ 8888/ #sshfs -o allow_other,direct_io -p 5552 localhost:/ 9999/ #perf kvm --host --guest --guestmount=~/guestmount top --guestkallsyms=<path> Guest os /proc/kallsyms file copy. perf kvm' reads it to get guest kernel symbols. Users copy it out from guest os. --guestmodules=<path> Guest os /proc/modules file copy. perf kvm' reads it to get guest kernel module information. Users copy it out from guest os. --guestvmlinux=<path> Guest os kernel vmlinux. STAT REPORT OPTIONS
--vcpu=<value> analyze events which occures on this vcpu. (default: all vcpus) --event=<value> event to be analyzed. Possible values: vmexit, mmio, ioport. (default: vmexit) -k, --key=<value> Sorting key. Possible values: sample (default, sort by samples number), time (sort by average time). -p, --pid= Analyze events only for given process ID(s) (comma separated list). STAT LIVE OPTIONS
-d, --display Time in seconds between display updates -m, --mmap-pages= Number of mmap data pages. Must be a power of two. -a, --all-cpus System-wide collection from all CPUs. -p, --pid= Analyze events only for given process ID(s) (comma separated list). --vcpu=<value> analyze events which occures on this vcpu. (default: all vcpus) --event=<value> event to be analyzed. Possible values: vmexit, mmio, ioport. (default: vmexit) -k, --key=<value> Sorting key. Possible values: sample (default, sort by samples number), time (sort by average time). --duration=<value> Show events other than HLT that take longer than duration usecs. SEE ALSO
perf-top(1), perf-record(1), perf-report(1), perf-diff(1), perf-buildid-list(1), perf-stat(1) perf 06/30/2014 PERF-KVM(1)