Fix kvm support in Ubuntu
[tools/build.git] / build-vm-qemu
1 #
2 # qemu specific functions
3 #
4 ################################################################
5 #
6 # Copyright (c) 1995-2014 SUSE Linux Products GmbH
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2 or 3 as
10 # published by the Free Software Foundation.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program (see the file COPYING); if not, write to the
19 # Free Software Foundation, Inc.,
20 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
21 #
22 ################################################################
23
24 # just forward everything to kvm...
25
26 vm_verify_options_qemu() {
27     vm_verify_options_kvm
28 }
29
30 vm_startup_qemu() {
31     vm_startup_kvm
32 }
33
34 vm_kill_qemu() {
35     vm_kill_kvm
36 }
37
38 vm_fixup_qemu() {
39     vm_setup_kvm
40 }
41
42 vm_attach_root_qemu() {
43     vm_attach_root_kvm
44 }
45
46 vm_attach_swap_qemu() {
47     vm_attach_swap_kvm
48 }
49
50 vm_detach_root_qemu() {
51     vm_detach_root_kvm
52 }
53
54 vm_detach_swap_qemu() {
55     vm_detach_swap_kvm
56 }
57
58 vm_cleanup_qemu() {
59     vm_cleanup_kvm
60 }
61