mirror of
https://github.com/phire/kvmbox.git
synced 2025-04-02 10:52:56 -04:00
20 lines
282 B
C++
20 lines
282 B
C++
#include <QObject>
|
|
|
|
class Vcpu : public QObject {
|
|
Q_OBJECT
|
|
struct kvm *kvm;
|
|
long unsigned int threadId; // not portable
|
|
|
|
public:
|
|
Vcpu(struct kvm *kvm);
|
|
void interrupt();
|
|
|
|
public slots:
|
|
void init();
|
|
void run();
|
|
|
|
signals:
|
|
void initialised();
|
|
void failure();
|
|
void exit();
|
|
};
|